This commit is contained in:
parent
4b56dc1799
commit
9ac065f2db
1 changed files with 43 additions and 0 deletions
43
.drone.yml
Normal file
43
.drone.yml
Normal 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
|
Loading…
Reference in a new issue