country-geo-locations/.drone.yml
2023-12-23 17:17:23 +01:00

50 lines
No EOL
908 B
YAML

kind: pipeline
name: build
steps:
- name: docker
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
when:
branch:
- main
event:
- 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