Skip to content

Commit

Permalink
fix: build kustomize step consuming right ref reference for tag (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
enapupe authored Dec 10, 2023
1 parent 030ebaa commit 6d30396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- uses: imranismail/setup-kustomize@v2
- run: |
cd prod
kustomize edit set image vnguyen/openbeta-graph-api:${GITHUB_REF}
kustomize edit set image vnguyen/openbeta-graph-api:${GITHUB_REF_NAME}
- name: Check if there is any change
id: get_changes
run: echo "changed=$(git status --porcelain | wc -l)" >> $GITHUB_OUTPUT
Expand All @@ -64,7 +64,7 @@ jobs:
run: |
git config user.name github-actions
git config user.email [email protected]
git commit -am "Update deployment. Code=${GITHUB_REF}"
git commit -am "Update deployment. Code=${GITHUB_REF_NAME}"
git push
# build docker image and push to registry
Expand Down

0 comments on commit 6d30396

Please sign in to comment.