Skip to content

Commit 7281567

Browse files
committed
move variable to env in gh action
1 parent d804319 commit 7281567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
- name: Build, tag, and push CE images to Dockerhub
2222
env:
2323
BUILD_HASH: ${{ github.sha }}
24+
IMAGE_TAG: ${{ github.ref_name }}
2425
run: |
25-
IMAGE_TAG=${{ github.ref_name }}
2626
if [[ $GITHUB_REF_TYPE != "tag" ]]; then
2727
echo "Not a tag, exiting"
2828
exit 1

0 commit comments

Comments
 (0)