Skip to content

Commit

Permalink
agressive inline cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tico24 committed Jul 11, 2023
1 parent 9df03ee commit 0ebf8bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,13 @@ jobs:
cache_image_name="${DOCKERIO_ORG}/${TARGET}:buildcache-${tag_suffix}"

docker buildx build \
--cache-from "type=registry,ref=$image_name" \
--cache-from "type=registry,ref=$cache_image_name" \
--cache-to "type=registry,ref=$cache_image_name" \
--cache-to "type=registry,ref=$image_name" \
--cache-to "type=registry,mode=max,ref=$cache_image_name" \
--output "type=image,push=true" \
--build-arg GIT_COMMIT=$GIT_COMMIT \
--build-arg GIT_TAG=$GIT_TAG \
--build-arg GIT_TREE_STATE=$GIT_TREE_STATE \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--platform="${PLATFORM}" \
--target $TARGET \
--sbom=true \
Expand Down

0 comments on commit 0ebf8bc

Please sign in to comment.