Skip to content

Commit

Permalink
fix: remove ghcr.io from goreleaser, to keep publishing on docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
omissis committed Nov 4, 2024
1 parent 81fb518 commit 7ed0aaa
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ brews:
bin.install 'goarkitect'
dockers:
- image_templates:
- "ghcr.io/omissis/goarkitect:latest-amd64"
- "ghcr.io/omissis/goarkitect:{{ .Version }}-amd64"
- "ghcr.io/omissis/goarkitect:{{ .Major }}.{{ .Minor }}-amd64"
- "ghcr.io/omissis/goarkitect:{{ .Major }}-amd64"
- "omissis/goarkitect:latest-amd64"
- "omissis/goarkitect:{{ .Version }}-amd64"
- "omissis/goarkitect:{{ .Major }}.{{ .Minor }}-amd64"
- "omissis/goarkitect:{{ .Major }}-amd64"
dockerfile: Dockerfile
build_flag_templates:
- "--target=goreleaser"
Expand All @@ -70,10 +70,10 @@ dockers:
- "--label=org.opencontainers.image.version={{ .Version }}"
skip_push: auto
- image_templates:
- "ghcr.io/omissis/goarkitect:latest-arm64"
- "ghcr.io/omissis/goarkitect:{{ .Version }}-arm64"
- "ghcr.io/omissis/goarkitect:{{ .Major }}.{{ .Minor }}-arm64"
- "ghcr.io/omissis/goarkitect:{{ .Major }}-arm64"
- "omissis/goarkitect:latest-arm64"
- "omissis/goarkitect:{{ .Version }}-arm64"
- "omissis/goarkitect:{{ .Major }}.{{ .Minor }}-arm64"
- "omissis/goarkitect:{{ .Major }}-arm64"
goarch: arm64
dockerfile: Dockerfile
build_flag_templates:
Expand All @@ -86,23 +86,23 @@ dockers:
- "--label=org.opencontainers.image.version={{ .Version }}"
skip_push: auto
docker_manifests:
- name_template: "ghcr.io/omissis/goarkitect:latest"
- name_template: "omissis/goarkitect:latest"
image_templates:
- "ghcr.io/omissis/goarkitect:latest-amd64"
- "ghcr.io/omissis/goarkitect:latest-arm64"
- "omissis/goarkitect:latest-amd64"
- "omissis/goarkitect:latest-arm64"
skip_push: auto
- name_template: "ghcr.io/omissis/goarkitect:{{ .Version }}"
- name_template: "omissis/goarkitect:{{ .Version }}"
image_templates:
- "ghcr.io/omissis/goarkitect:{{ .Version }}-amd64"
- "ghcr.io/omissis/goarkitect:{{ .Version }}-arm64"
- "omissis/goarkitect:{{ .Version }}-amd64"
- "omissis/goarkitect:{{ .Version }}-arm64"
skip_push: auto
- name_template: "ghcr.io/omissis/goarkitect:{{ .Major }}.{{ .Minor }}"
- name_template: "omissis/goarkitect:{{ .Major }}.{{ .Minor }}"
image_templates:
- "ghcr.io/omissis/goarkitect:{{ .Major }}.{{ .Minor }}-amd64"
- "ghcr.io/omissis/goarkitect:{{ .Major }}.{{ .Minor }}-arm64"
- "omissis/goarkitect:{{ .Major }}.{{ .Minor }}-amd64"
- "omissis/goarkitect:{{ .Major }}.{{ .Minor }}-arm64"
skip_push: auto
- name_template: "ghcr.io/omissis/goarkitect:{{ .Major }}"
- name_template: "omissis/goarkitect:{{ .Major }}"
image_templates:
- "ghcr.io/omissis/goarkitect:{{ .Major }}-amd64"
- "ghcr.io/omissis/goarkitect:{{ .Major }}-arm64"
- "omissis/goarkitect:{{ .Major }}-amd64"
- "omissis/goarkitect:{{ .Major }}-arm64"
skip_push: auto

0 comments on commit 7ed0aaa

Please sign in to comment.