James Harton
fbdfb8eb58
All checks were successful
continuous-integration/drone/push Build is passing
83 lines
1.4 KiB
YAML
83 lines
1.4 KiB
YAML
kind: pipeline
|
|
type: docker
|
|
name: build-arm64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
|
|
steps:
|
|
- name: build-arm64
|
|
image: plugins/docker
|
|
settings:
|
|
username: james
|
|
password:
|
|
from_secret: REGISTRY_TOKEN
|
|
registry: harton.dev
|
|
repo: harton.dev/james/asdf_container
|
|
cache_from: harton.dev/james/asdf_container:latest-arm64
|
|
platform: linux/arm64
|
|
pull: true
|
|
tags:
|
|
- latest-arm64
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: build-amd64
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
|
|
steps:
|
|
- name: build-amd64
|
|
image: plugins/docker
|
|
settings:
|
|
username: james
|
|
password:
|
|
from_secret: REGISTRY_TOKEN
|
|
registry: harton.dev
|
|
repo: harton.dev/james/asdf_container
|
|
cache_from: harton.dev/james/asdf_container:latest-amd64
|
|
platform: linux/amd64
|
|
pull: true
|
|
tags:
|
|
- latest-amd64
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: manifest
|
|
|
|
depends_on:
|
|
- build-arm64
|
|
- build-amd64
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
|
|
steps:
|
|
- name: manifest
|
|
image: plugins/manifest
|
|
settings:
|
|
username: james
|
|
password:
|
|
from_secret: REGISTRY_TOKEN
|
|
registry: harton.dev
|
|
target: harton.dev/james/asdf_container:latest
|
|
template: harton.dev/james/asdf_container:latest-ARCH
|
|
platforms:
|
|
- linux/arm64
|
|
- linux/amd64
|