From 8cf54184fe72e2b8e8b16005ff62f271fb6e79f8 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Wed, 11 Dec 2024 09:22:55 +0100 Subject: [PATCH] fix: cache remove docker:// --- .woodpecker/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 26f9dd5..7ffa17e 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -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