We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1afb207 commit e11ab09Copy full SHA for e11ab09
hack/build-image.sh
@@ -40,8 +40,8 @@ fi
40
repository=ghcr.io/kcp-dev/kcp
41
architectures="amd64 arm64"
42
43
-# when building locally, just tag with the current HEAD hash
44
-version="$(git rev-parse --short HEAD)"
+# when building locally, just tag with the current HEAD hash with a "dev-" prefix for GC.
+version="dev-$(git rev-parse --short HEAD)"
45
branchName=""
46
47
# deduce the tag from the Prow job metadata
@@ -67,7 +67,7 @@ echo "Building container image $image ..."
67
for arch in $architectures; do
68
fullTag="$image-$arch"
69
70
- echo "Building $version-$arch ..."
+ echo "Building $fullTag ..."
71
buildah build-using-dockerfile \
72
--file Dockerfile \
73
--tag "$fullTag" \
0 commit comments