Skip to content

Commit

Permalink
ci: use snapshot goreleaser workflow from meta repository
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Jan 24, 2022
1 parent 1c78f44 commit 04ef639
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,7 @@ jobs:
- name: Test
run: go test ./...

goreleaser:
env:
GO111MODULE: "on"
DOCKER_CLI_EXPERIMENTAL: enabled
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: "~1.17"
- uses: actions/checkout@v2
- uses: anchore/sbom-action/[email protected]
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
- uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser-pro
version: latest
args: --snapshot --skip-sign
env:
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
snapshot:
uses: charmbracelet/meta/.github/workflows/snapshot.yml@main
secrets:
goreleaser_key: ${{ secrets.GORELEASER_KEY }}

0 comments on commit 04ef639

Please sign in to comment.