Skip to content

Commit

Permalink
simplify actions
Browse files Browse the repository at this point in the history
  • Loading branch information
4nte committed Jul 12, 2023
1 parent 50e4a85 commit ae0d91f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ jobs:
go-version: 1.19
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
path: mqtt-mirror
fetch-depth: 0
- uses: actions/checkout@v2

- name: Docker Login
if: success() && startsWith(github.ref, 'refs/tags/')
Expand All @@ -38,14 +34,14 @@ jobs:
uses: goreleaser/goreleaser-action@v3
with:
args: release
workdir: ${{github.workspace}}/mqtt-mirror
env:
GITHUB_TOKEN: ${{ secrets.PAT }}

- name: Publish helm chart
uses: stefanprodan/[email protected]
with:
token: ${{ secrets.PAT }}
repository: 4nte/helm-charts
owner: 4nte
repository: helm-charts
chart_version: ${{ steps.get_version.outputs.version-without-v }}
app_version: ${{ steps.get_version.outputs.version-without-v }}

0 comments on commit ae0d91f

Please sign in to comment.