fix: cache remove docker://
Some checks failed
ci/woodpecker/push/build Pipeline was successful
build-ublue-custom / Build and push image (push) Has been cancelled
ci/woodpecker/cron/build Pipeline was successful

This commit is contained in:
Bastien Riviere 2024-12-11 09:22:55 +01:00
parent 65b144b694
commit 8cf54184fe
Signed by: babariviere
GPG key ID: 4E5F0839249F162E

View file

@ -17,8 +17,8 @@ steps:
- echo "$PACKAGE_TOKEN" | buildah login forge.babariviere.com --username babariviere --password-stdin
- buildah build
--layers
--cache-from docker://$IMAGE_NAME:cache
--cache-to docker://$IMAGE_NAME:cache
--cache-from $IMAGE_NAME/cache
--cache-to $IMAGE_NAME/cache
--label org.opencontainers.image.source=https://$IMAGE_NAME
-t $IMAGE_NAME:latest -t $IMAGE_NAME:$(date -u +%Y%m%d) .
- buildah push --all $IMAGE_NAME docker://$IMAGE_NAME