Skip to content

Commit 1346ad6

Browse files
committed
Fix tag parsing
1 parent fbd898e commit 1346ad6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ jobs:
1010
steps:
1111
- name: Checkout code
1212
uses: actions/checkout@v2
13+
- name: Get tag
14+
id: tag
15+
uses: dawidd6/action-get-tag@v1
16+
1317
- uses: docker/setup-buildx-action@v1
18+
1419
- name: Login to GitHub Container Registry
1520
uses: docker/login-action@v1
1621
with:
@@ -24,11 +29,11 @@ jobs:
2429
context: .
2530
tags: |
2631
ghcr.io/jniebuhr/aws-pca-issuer:latest
27-
ghcr.io/jniebuhr/aws-pca-issuer:${{ github.event.release.tag_name }}
32+
ghcr.io/jniebuhr/aws-pca-issuer:${{steps.tag.outputs.tag}}
2833
push: true
2934

3035
- name: Publish Helm chart
3136
uses: stefanprodan/helm-gh-pages@master
3237
with:
3338
token: ${{ secrets.CR_PAT }}
34-
app_version: ${{ github.event.release.tag_name }}
39+
app_version: ${{steps.tag.outputs.tag}}

0 commit comments

Comments
 (0)