improvement: correct cache handling.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
James Harton 2023-07-19 17:56:44 +12:00
parent 1443578305
commit 381706b301
Signed by: james
GPG key ID: 90E82DAA13F624F4

View file

@ -6,13 +6,18 @@ steps:
- name: build
image: thegeeklab/drone-docker-buildx:23
privileged: true
when:
ref:
- refs/heads/main
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
cache_from: code.harton.nz/james/asdf_container:cache
cache_to: code.harton.nz/james/asdf_container:cache
provenance: false
tags:
- latest
platforms: