chore: remove layers from buildah
Some checks failed
build-ublue-custom / Build and push image (push) Waiting to run
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/cron/build Pipeline failed

This commit is contained in:
Bastien Riviere 2024-12-11 08:25:35 +01:00
parent f6fa6f372f
commit 9ac4ff5642
Signed by: babariviere
GPG key ID: 4E5F0839249F162E

View file

@ -17,9 +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 docker://$IMAGE_NAME:cache
--cache-to docker://$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