Skip to content

Commit

Permalink
Fix issue in release workflow (#1496)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
  • Loading branch information
tegioz authored Aug 18, 2021
1 parent 28bf63d commit 12e6c26
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,33 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Checkout Helm charts repo
uses: actions/checkout@master
with:
repository: artifacthub/helm-charts
path: helm-charts
token: ${{ secrets.GHT_RELEASE }}
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Set up Helm
uses: azure/setup-helm@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Extract tag name
id: extract_tag_name
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
- name: Release Docker images and CLI tool binaries
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist --timeout 60m
env:
GITHUB_TOKEN: ${{ secrets.GHT_RELEASE }}
- name: Set up Helm
uses: azure/setup-helm@v1
- name: Checkout Helm charts repo
uses: actions/checkout@master
with:
repository: artifacthub/helm-charts
path: helm-charts
token: ${{ secrets.GHT_RELEASE }}
- name: Extract tag name
id: extract_tag_name
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
- name: Release Helm chart
run: |
mkdir tmp && cd tmp
Expand Down

0 comments on commit 12e6c26

Please sign in to comment.