Files
smarthost-proxy/.drone.yml
Gyorgy Berenyi d49c71eec6
Some checks failed
continuous-integration/drone/push Build is failing
changed build to dockerhub at first
2025-05-06 14:24:32 +00:00

50 lines
1.0 KiB
YAML

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