Skip to content

Commit

Permalink
put in release tag recording
Browse files Browse the repository at this point in the history
  • Loading branch information
binhex committed Jul 22, 2024
1 parent 3b9f796 commit 11fd594
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/root/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand All @@ -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'

# build scripts
####

Expand Down

0 comments on commit 11fd594

Please sign in to comment.