add staging build

This commit is contained in:
Aaron Riedel 2023-12-23 17:17:23 +01:00
parent fae6b6e5e2
commit cca9ebe9a6
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -21,4 +21,30 @@ steps:
branch:
- main
event:
- push
- push
- name: docker-build
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: yolokube/country-geo-locations
tags:
- latest
- ${DRONE_BUILD_NUMBER}
platforms:
- linux/arm64
- linux/amd64
dry_run: true
when:
branch:
exclude:
- main
event:
- push
when:
event:
exclude:
- pull_request