add staging build
This commit is contained in:
parent
fae6b6e5e2
commit
cca9ebe9a6
1 changed files with 27 additions and 1 deletions
28
.drone.yml
28
.drone.yml
|
@ -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
|
Loading…
Reference in a new issue