Skip to content

Commit

Permalink
Merge pull request #159 from authzed/debug-bases
Browse files Browse the repository at this point in the history
Fix broken release images
  • Loading branch information
jzelinskie authored Oct 12, 2022
2 parents 2376749 + 108dc4d commit 66a599b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
echo "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
- uses: "actions/setup-go@v3"
with:
go-version: "~1.18"
- uses: "goreleaser/goreleaser-action@v2"
go-version: "~1.19"
- uses: "goreleaser/goreleaser-action@v3"
with:
distribution: "goreleaser"
distribution: "goreleaser-pro"
version: "latest"
args: "release --rm-dist"
env:
Expand All @@ -43,10 +43,10 @@ jobs:
run: "sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu gcc-mingw-w64-x86-64"
- uses: "actions/setup-go@v3"
with:
go-version: "~1.19.1"
- uses: "goreleaser/goreleaser-action@v2"
go-version: "~1.19"
- uses: "goreleaser/goreleaser-action@v3"
with:
distribution: "goreleaser"
distribution: "goreleaser-pro"
version: "latest"
args: "release --config=.goreleaser.docker.yml --rm-dist"
env:
Expand Down
8 changes: 2 additions & 6 deletions .goreleaser.docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ builds:
- id: "linux-amd64"
goos: ["linux"]
goarch: ["amd64"]
env:
- "CC=gcc"
- "CGO_ENABLED=1"
env: ["CC=gcc", "CGO_ENABLED=0"]
main: &main "./cmd/zed"
binary: &binary "zed"
mod_timestamp: &mod_timestamp "{{ .CommitTimestamp }}"
Expand All @@ -18,9 +16,7 @@ builds:
- id: "linux-arm64"
goos: ["linux"]
goarch: ["arm64"]
env:
- "CC=aarch64-linux-gnu-gcc"
- "CGO_ENABLED=1"
env: ["CC=aarch64-linux-gnu-gcc", "CGO_ENABLED=0"]
main: *main
binary: *binary
mod_timestamp: *mod_timestamp
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ snapshot:

changelog:
use: "github-native"
sort: "asc"

release:
prerelease: "auto"
footer: |
## Docker Images
This release is available at `quay.io/authzed/zed:v{{ .Version }}`
This release is available at `authzed/zed:v{{ .Version }}`, `quay.io/authzed/zed:v{{ .Version }}`, `ghcr.io/authzed/zed:v{{ .Version }}`

0 comments on commit 66a599b

Please sign in to comment.