Skip to content

Commit

Permalink
Actions use goreleaser nightly from source
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Kosiewski <[email protected]>
  • Loading branch information
Thomas Kosiewski committed Sep 7, 2023
1 parent 7113ddf commit 46bcce8
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,19 @@ jobs:
registry: ghcr.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: "goreleaser/[email protected]"
with:
version: nightly
args: release --clean --timeout 60m
- name: Setup GoReleaser nightly from source
run: go install github.com/goreleaser/goreleaser@main
- name: Run GoReleaser
run: goreleaser release --clean --timeout 60m
env:
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
GORELEASER_CURRENT_TAG: ${{ steps.get_version.outputs.release_version }}
GORELEASER_PREVIOUS_TAG: ${{ steps.get_version.outputs.previous_tag }}
# - uses: "goreleaser/[email protected]"
# with:
# version: nightly
# args: release --clean --timeout 60m
# env:
# GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
# GORELEASER_CURRENT_TAG: ${{ steps.get_version.outputs.release_version }}
# GORELEASER_PREVIOUS_TAG: ${{ steps.get_version.outputs.previous_tag }}

0 comments on commit 46bcce8

Please sign in to comment.