Skip to content

Commit

Permalink
Revert "scripts: build: use git description for prind version label"
Browse files Browse the repository at this point in the history
This reverts commit 20180d5.
  • Loading branch information
mkuf committed Feb 22, 2024
1 parent cdafdb4 commit 945b614
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ rm -rf ${tmp}

# Set label Values
label_date=$(date --rfc-3339=seconds)
label_prind_version=$(git describe --tags)
if [ "${CI}" == "true" ]; then
label_prind_version="${GITHUB_SHA}"
label_author="${GITHUB_REPOSITORY_OWNER}"
label_url="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
label_doc="${label_url}/blob/${GITHUB_SHA}/docker/${app}/README.md"
label_src="${label_url}/blob/${GITHUB_SHA}/docker/${app}"
else
label_prind_version="$(git rev-parse HEAD)"
label_author="$(whoami)"
label_url="local"
label_doc="local"
Expand Down

0 comments on commit 945b614

Please sign in to comment.