2023-07-19 13:08:02 +12:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2023-07-19 17:41:57 +12:00
|
|
|
name: default
|
2023-07-19 16:29:22 +12:00
|
|
|
|
|
|
|
steps:
|
2023-07-19 17:41:57 +12:00
|
|
|
- name: build
|
|
|
|
image: thegeeklab/drone-docker-buildx:23
|
|
|
|
privileged: true
|
2023-07-19 17:56:44 +12:00
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/heads/main
|
2023-07-19 16:29:22 +12:00
|
|
|
settings:
|
|
|
|
username: james
|
|
|
|
password:
|
|
|
|
from_secret: REGISTRY_TOKEN
|
|
|
|
registry: code.harton.nz
|
|
|
|
repo: code.harton.nz/james/asdf_container
|
2023-07-19 17:56:44 +12:00
|
|
|
cache_from: code.harton.nz/james/asdf_container:cache
|
|
|
|
cache_to: code.harton.nz/james/asdf_container:cache
|
|
|
|
provenance: false
|
2023-07-19 17:41:57 +12:00
|
|
|
tags:
|
|
|
|
- latest
|
|
|
|
platforms:
|
|
|
|
- linux/arm64
|
|
|
|
- linux/amd64
|
2023-07-19 16:29:22 +12:00
|
|
|
|