add build pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2023-12-22 21:03:28 +01:00
parent 4b56dc1799
commit 9ac065f2db
Signed by: aaron
GPG key ID: 643004654D40D577

43
.drone.yml Normal file
View file

@ -0,0 +1,43 @@
kind: pipeline
name: build-amd64
platform:
arch: amd64
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: yolokube/country-geo-locations
tags:
- latest
- ${DRONE_BUILD_NUMBER}
when:
branch:
- main
event:
- push
---
kind: pipeline
name: build-arm64
platform:
arch: arm64
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: yolokube/country-geo-locations
tags:
- latest
- ${DRONE_BUILD_NUMBER}
when:
branch:
- main
event:
- push