Skip to content

Commit 786dd3f

Browse files
committed
Use github.ref_name
1 parent 7ee2244 commit 786dd3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/draft-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
with:
3636
context: .
3737
push: true
38-
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.GITHUB_REF_NAME }}
38+
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
3939
# Update infrastructure manifest with new image tag
4040
- name: Update infrastructure manifest
41-
run: IMG_TAG=${{ env.GITHUB_REF_NAME }} make generate-infra-yaml
41+
run: IMG_TAG=${{ github.ref_name }} make generate-infra-yaml
4242
# Create release
4343
- name: Create release
4444
uses: ncipollo/release-action@v1

0 commit comments

Comments
 (0)