Skip to content

Commit

Permalink
Use github.ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
anmazzotti committed Oct 10, 2023
1 parent 7ee2244 commit 786dd3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/draft-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
with:
context: .
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.GITHUB_REF_NAME }}
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
# Update infrastructure manifest with new image tag
- name: Update infrastructure manifest
run: IMG_TAG=${{ env.GITHUB_REF_NAME }} make generate-infra-yaml
run: IMG_TAG=${{ github.ref_name }} make generate-infra-yaml
# Create release
- name: Create release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 786dd3f

Please sign in to comment.