diff --git a/.drone.yml b/.drone.yml index 20b0853..bab3f23 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,4 +21,30 @@ steps: branch: - main event: - - push \ No newline at end of file + - 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 \ No newline at end of file