drone-buildx/.drone.yml
janic e7ec8ec916
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Updating the right Dockerfile in drone pipeline
2022-05-18 23:07:00 +02:00

51 lines
1.0 KiB
YAML

---
kind: pipeline
type: docker
name: Build AMD64
platform:
os: linux
arch: amd64
trigger:
branche:
- master
# event:
# - tag
steps:
- name: Harbor AMD64
image: plugins/docker # Check Entrypoint
privileged: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
settings:
username:
from_secret: harbor_username
password:
from_secret: harbor_password
repo: goharbor.voser.cloud/homelab/docker-buildx
registry: https://goharbor.voser.cloud
auto_tag: true
build_args:
- ARCH=amd64
dockerfile: ./Dockerfile
- name: Dockerhub AMD64
image: plugins/docker # Check Entrypoint
privileged: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: waaaaat/docker-buildx
auto_tag: true
build_args:
- ARCH=amd64
dockerfile: ./Dockerfile
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock