Skip to content

Commit

Permalink
removing darwin to miniminze the build time
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso committed Sep 8, 2024
1 parent 6ba4dc1 commit b047905
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ builds:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64
Expand Down Expand Up @@ -60,32 +59,8 @@ dockers:
use: buildx
build_flag_templates:
- "--platform=linux/arm64"
- id: darwin-build-amd64
image_templates:
- "{{ .Env.REGISTRY }}/skarlso/crd-bootstrap-controller:{{ .Tag }}-darwin-amd64"
# GOOS of the built binary that should be used.
goos: darwin
# GOARCH of the built binary that should be used.
goarch: amd64
dockerfile: "{{ .Env.DOCKERFILE }}"
use: buildx
build_flag_templates:
- "--platform=darwin/amd64"
- id: darwin-build-arm64
image_templates:
- "{{ .Env.REGISTRY }}/skarlso/crd-bootstrap-controller:{{ .Tag }}-darwin-arm64"
# GOOS of the built binary that should be used.
goos: darwin
# GOARCH of the built binary that should be used.
goarch: arm64
dockerfile: "{{ .Env.DOCKERFILE }}"
use: buildx
build_flag_templates:
- "--platform=darwin/arm64"
docker_manifests:
- name_template: "{{ .Env.REGISTRY }}/skarlso/crd-bootstrap-controller:{{ .Tag }}"
image_templates:
- "{{ .Env.REGISTRY }}/skarlso/crd-bootstrap-controller:{{ .Tag }}-linux-amd64"
- "{{ .Env.REGISTRY }}/skarlso/crd-bootstrap-controller:{{ .Tag }}-darwin-amd64"
- "{{ .Env.REGISTRY }}/skarlso/crd-bootstrap-controller:{{ .Tag }}-linux-arm64"
- "{{ .Env.REGISTRY }}/skarlso/crd-bootstrap-controller:{{ .Tag }}-darwin-arm64"
3 changes: 3 additions & 0 deletions docs/release_notes/v0.9.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Release v0.9.7

Maybe the path is incorrect somehow? According to the build context output the file is there...

0 comments on commit b047905

Please sign in to comment.