Skip to content

Commit 8216612

Browse files
committed
Fix build commit message env var
1 parent c5a25e0 commit 8216612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/github-actions-podman-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ declare -a image_tags=(
4545
# Fill in env vars
4646
BUILD_BRANCH="$(git rev-parse --abbrev-ref HEAD | sed 's/[^a-zA-Z0-9]/-/g' )" # Somehow turned out to be HEAD on a tag build???
4747
BUILD_COMMIT="$(git rev-parse --short HEAD)"
48-
BUILD_COMMIT_MESSAGE="$(git log -1 --pretty=%B)"
48+
BUILD_COMMIT_MESSAGE="$(git log -1 --pretty=%s)"
4949
BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')"
5050
BUILD_TAG="$(git tag --points-at HEAD)"
5151
LATEST_TAG="latest"

0 commit comments

Comments
 (0)