From 9ac4ff5642633d158cd9ca874e36667cfec61fd1 Mon Sep 17 00:00:00 2001 From: Bastien Riviere Date: Wed, 11 Dec 2024 08:25:35 +0100 Subject: [PATCH] chore: remove layers from buildah --- .woodpecker/build.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.woodpecker/build.yaml b/.woodpecker/build.yaml index 92c000f..0769d6c 100644 --- a/.woodpecker/build.yaml +++ b/.woodpecker/build.yaml @@ -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