Files
installer-tool/.drone.yml
Gyorgy Berenyi a773e95a5e
All checks were successful
continuous-integration/drone/push Build is passing
Update .drone.yml
2025-03-05 10:36:30 +00:00

50 lines
1.1 KiB
YAML

kind: pipeline
type: kubernetes
name: default
node_selector:
physical-node: dev2
trigger:
branch:
- master
event:
- push
workspace:
path: /drone/src
steps:
- name: build multiarch from dev
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
settings:
cache-from: [ "registry.dev.format.hu/installer-tool" ]
registry: registry.dev.format.hu
repo: registry.dev.format.hu/installer-tool
tags: latest
dockerfile: Dockerfile
username:
from_secret: dev-hu-registry-username
password:
from_secret: dev-hu-registry-password
platforms:
- linux/amd64
- linux/arm64
- name: pull image to dockerhub
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
settings:
cache-from: [ "safebox/installer-tool" ]
repo: safebox/installer-tool
tags: latest
username:
from_secret: dockerhub-username
password:
from_secret: dockerhub-password
platforms:
- linux/amd64
- linux/arm64