Skip to content

Commit

Permalink
Fix tag parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jniebuhr committed Jan 14, 2021
1 parent fbd898e commit 1346ad6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1

- uses: docker/setup-buildx-action@v1

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
Expand All @@ -24,11 +29,11 @@ jobs:
context: .
tags: |
ghcr.io/jniebuhr/aws-pca-issuer:latest
ghcr.io/jniebuhr/aws-pca-issuer:${{ github.event.release.tag_name }}
ghcr.io/jniebuhr/aws-pca-issuer:${{steps.tag.outputs.tag}}
push: true

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

0 comments on commit 1346ad6

Please sign in to comment.