asdf_container/.drone.yml
James Harton 018acf2769
Some checks failed
continuous-integration/drone/push Build is failing
chore: try and export cache to bucket storage.
2023-07-19 20:07:26 +12:00

35 lines
759 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: thegeeklab/drone-docker-buildx:23
privileged: true
when:
ref:
- refs/heads/main
environment:
ACCESS_KEY_ID:
from_secret: ACCESS_KEY_ID
SECRET_ACCESS_KEY:
from_secret: SECRET_ACCESS_KEY
S3_ENDPOINT:
from_secret: S3_ENDPOINT
CACHE_BUCKET:
from_secret: CACHE_BUCKET
settings:
username: james
password:
from_secret: REGISTRY_TOKEN
registry: code.harton.nz
repo: code.harton.nz/james/asdf_container
cache_to: code.harton.nz/james/asdf_container:cache
cache_from: code.harton.nz/james/asdf_container:cache
provenance: false
tags:
- latest
platforms:
- linux/arm64
- linux/amd64