chore: build on amd64 and arm.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0f53ec6c60
commit
887117b45c
1 changed files with 34 additions and 9 deletions
43
.drone.yml
43
.drone.yml
|
@ -1,14 +1,39 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
name: amd64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: build amd64
|
||||
image: plugins/docker
|
||||
username: james
|
||||
password:
|
||||
from_secret: REGISTRY_TOKEN
|
||||
registry: code.harton.nz
|
||||
repo: james/asdf_container
|
||||
tags:
|
||||
- latest
|
||||
settings:
|
||||
username: james
|
||||
password:
|
||||
from_secret: REGISTRY_TOKEN
|
||||
registry: code.harton.nz
|
||||
repo: code.harton.nz/james/asdf_container
|
||||
cache_from: code.harton.nz/james/asdf_container:latest
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: arm64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: build amd64
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username: james
|
||||
password:
|
||||
from_secret: REGISTRY_TOKEN
|
||||
registry: code.harton.nz
|
||||
repo: code.harton.nz/james/asdf_container
|
||||
cache_from: code.harton.nz/james/asdf_container:latest
|
||||
|
|
Loading…
Reference in a new issue