Skip to content

Commit

Permalink
fix goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetancollaud committed Mar 21, 2022
1 parent 7deb148 commit d09bde7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: 1.6.3
version: latest
args: release --rm-dist --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 3 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ env:
builds:
- goos:
- linux
- darwin
- windows
goarch:
- 386
Expand All @@ -22,7 +21,7 @@ dockers:
- image_templates:
- "gaetancollaud/digitalstrom-mqtt:{{ .Version }}-amd64"
- "gaetancollaud/digitalstrom-mqtt:latest-amd64"
use_buildx: true
use: buildx
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/amd64"
Expand All @@ -31,7 +30,7 @@ dockers:
- image_templates:
- "gaetancollaud/digitalstrom-mqtt:{{ .Version }}-arm"
- "gaetancollaud/digitalstrom-mqtt:latest-arm"
use_buildx: true
use: buildx
goarch: arm
goarm: 6
dockerfile: Dockerfile
Expand All @@ -42,7 +41,7 @@ dockers:
- image_templates:
- "gaetancollaud/digitalstrom-mqtt:{{ .Version }}-arm64v8"
- "gaetancollaud/digitalstrom-mqtt:latest-arm64v8"
use_buildx: true
use: buildx
goarch: arm64
dockerfile: Dockerfile
build_flag_templates:
Expand Down

0 comments on commit d09bde7

Please sign in to comment.