1 parent 1bda65f commit cc0bd8fCopy full SHA for cc0bd8f
1 file changed
build/root/install.sh
@@ -4,7 +4,7 @@
4
set -e
5
6
# release tag name from buildx arg, stripped of build ver using string manipulation
7
-RELEASETAG="${1//-[0-9][0-9]/}"
+RELEASETAG="${1}"
8
9
# target arch from buildx arg
10
TARGETARCH="${2}"
@@ -19,6 +19,9 @@ if [[ -z "${TARGETARCH}" ]]; then
19
exit 1
20
fi
21
22
+# write RELEASETAG to file to record the release tag used to build the image
23
+echo "IMAGE_RELEASE_TAG=${RELEASETAG}" >> '/etc/image-release'
24
+
25
# build scripts
26
####
27
0 commit comments