Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do lowercasing at tag time, not before build time
Browse files Browse the repository at this point in the history
andrewazores committed Jul 11, 2024

Verified

This commit was signed with the committer’s verified signature.
mikepenz Mike Penz
1 parent a0dfac1 commit 274d8ef
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ jobs:
fetch-depth: 0
- id: get-agent-version
run: |
echo "agent-version=$(mvn -q -DforceStdout help:evaluate -Dexpression=project.version | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT
echo "agent-version=$(mvn -q -DforceStdout help:evaluate -Dexpression=project.version)" >> $GITHUB_OUTPUT
- id: get-hash-key
run: |
echo "hash-key=${{ runner.os }}-build-${{ hashFiles('**/pom.xml') }}" >> $GITHUB_OUTPUT
2 changes: 1 addition & 1 deletion build.bash
Original file line number Diff line number Diff line change
@@ -7,5 +7,5 @@ for p in */; do
echo "No build.bash in ${p} !"
exit 1
fi
PUSH_MANIFEST="${PUSH_MANIFEST:-false}" TAGS="${TAGS:-latest}" bash "${p}/build.bash"
PUSH_MANIFEST="${PUSH_MANIFEST:-false}" TAGS="$(echo "${TAGS:-latest}" | tr '[:upper:]' '[:lower:]')" bash "${p}/build.bash"
done

0 comments on commit 274d8ef

Please sign in to comment.