Skip to content

Commit

Permalink
Merge pull request #5771 from crazy-max/hack-export-base
Browse files Browse the repository at this point in the history
hack(images): set EXPORT_BASE and BUILDKITD_TAGS args
  • Loading branch information
crazy-max authored Feb 26, 2025
2 parents 6824fcf + 1df5e28 commit 15482b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hack/images
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ set -eu -o pipefail
: "${RELEASE=false}"
: "${PLATFORMS=}"
: "${TARGET=}"
: "${BUILDKIT_DEBUG=}"

versionTag=$(git describe --always --tags --match "v[0-9]*")

Expand Down Expand Up @@ -112,5 +111,5 @@ if [[ "$RELEASE" = "true" ]] && [[ "$GITHUB_ACTIONS" = "true" ]]; then
nocacheFilterFlag="--no-cache-filter=buildkit-export,gobuild-base,rootless"
fi

buildxCmd build --build-arg "BUILDKIT_CONTEXT_KEEP_GIT_DIR=1" --build-arg BUILDKIT_DEBUG $platformFlag $targetFlag $importCacheFlags $exportCacheFlags $tagFlags $outputFlag $nocacheFilterFlag $attestFlags \
buildxCmd build --build-arg "BUILDKIT_CONTEXT_KEEP_GIT_DIR=1" --build-arg BUILDKITD_TAGS --build-arg BUILDKIT_DEBUG --build-arg EXPORT_BASE $platformFlag $targetFlag $importCacheFlags $exportCacheFlags $tagFlags $outputFlag $nocacheFilterFlag $attestFlags \
$currentcontext

0 comments on commit 15482b6

Please sign in to comment.