Skip to content

Commit 6d30396

Browse files
authored
fix: build kustomize step consuming right ref reference for tag (#370)
1 parent 030ebaa commit 6d30396

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- uses: imranismail/setup-kustomize@v2
5656
- run: |
5757
cd prod
58-
kustomize edit set image vnguyen/openbeta-graph-api:${GITHUB_REF}
58+
kustomize edit set image vnguyen/openbeta-graph-api:${GITHUB_REF_NAME}
5959
- name: Check if there is any change
6060
id: get_changes
6161
run: echo "changed=$(git status --porcelain | wc -l)" >> $GITHUB_OUTPUT
@@ -64,7 +64,7 @@ jobs:
6464
run: |
6565
git config user.name github-actions
6666
git config user.email github-actions@github.com
67-
git commit -am "Update deployment. Code=${GITHUB_REF}"
67+
git commit -am "Update deployment. Code=${GITHUB_REF_NAME}"
6868
git push
6969
7070
# build docker image and push to registry

0 commit comments

Comments
 (0)