put in release tag recording

pull/292/head^2 4.6.6-1-01
binhex 5 months ago
parent ec1fcbd74d
commit 5987df60d3

@ -4,7 +4,7 @@
set -e
# release tag name from buildx arg, stripped of build ver using string manipulation
RELEASETAG="${1//-[0-9][0-9]/}"
RELEASETAG="${1}"
# target arch from buildx arg
TARGETARCH="${2}"
@ -19,6 +19,9 @@ if [[ -z "${TARGETARCH}" ]]; then
exit 1
fi
# write RELEASETAG to file to record the release tag used to build the image
echo "IMAGE_RELEASE_TAG=${RELEASETAG}" >> '/etc/image-release'
# note do NOT download build scripts - inherited from int script with envvars common defined
# get target arch from Dockerfile argument

Loading…
Cancel
Save