Skip to content

Commit 7172499

Browse files
committed
Fix version reference in git commit job
1 parent 75b1217 commit 7172499

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/dockerpublish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ jobs:
8888
# Strip "v" prefix from tag name
8989
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
9090
91+
# Pass version to subsequent steps
92+
echo "::set-env name=VERSION::$VERSION"
93+
9194
# Update image version in application manifest
9295
sed -Ei "s,(- image: docker.pkg.github.com)(.*),\1/${{ github.repository }}/$IMAGE_NAME:$VERSION," k8s/app.yaml
9396
@@ -119,7 +122,7 @@ jobs:
119122
with:
120123
github-token: ${{ secrets.GITHUB_TOKEN }}
121124
push-branch: ${{ env.DEPLOY_PUSH_BRANCH }}
122-
commit-message: chore: bump k8s manifest up CHIME ${VERSION}
125+
commit-message: "chore: bump k8s manifest up CHIME ${{ env.VERSION }}"
123126
rebase: 'true'
124127
name: Chime CI
125128

0 commit comments

Comments
 (0)