Skip to content

Commit

Permalink
fix: moved goreleaser manifest gen to avoid race cond
Browse files Browse the repository at this point in the history
  • Loading branch information
mikouaj committed Dec 13, 2024
1 parent 08fb82f commit afe56a8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ version: 2
before:
hooks:
- go mod tidy
- make manifests generate
- make release IMG=ghcr.io/google/{{ .ProjectName }}:{{ .Tag }} MANIFESTS=manifests.yaml
builds:
- id: kube-startup-cpu-boost
main: ./cmd
Expand All @@ -32,11 +34,6 @@ builds:
goarch:
- amd64
- arm64
hooks:
pre:
- cmd: make manifests generate
post:
- cmd: make release IMG=ghcr.io/google/{{ .ProjectName }}:{{ .Tag }} MANIFESTS=manifests.yaml
dockers:
- goos: linux
goarch: amd64
Expand Down

0 comments on commit afe56a8

Please # to comment.