Skip to content

Commit

Permalink
fix(release): also push arch tag to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoltzsche committed Oct 17, 2021
1 parent f522ddc commit 8a15f86
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dockers:
- id: khelm-amd64-image
image_templates:
- docker.io/mgoltzsche/khelm:{{.Version}}-amd64
- ghcr.io/mgoltzsche/khelm:{{.Version}}-amd64
use: buildx
dockerfile: Dockerfile
build_flag_templates:
Expand All @@ -43,6 +44,7 @@ dockers:
- id: khelm-arm64-image
image_templates:
- docker.io/mgoltzsche/khelm:{{.Version}}-arm64v8
- ghcr.io/mgoltzsche/khelm:{{.Version}}-arm64v8
use: buildx
goarch: arm64
dockerfile: Dockerfile
Expand All @@ -64,8 +66,8 @@ docker_manifests:
- id: khelm-multiarch-latest-ghcr-image
name_template: ghcr.io/mgoltzsche/khelm:latest
image_templates:
- docker.io/mgoltzsche/khelm:{{.Version}}-amd64
- docker.io/mgoltzsche/khelm:{{.Version}}-arm64v8
- ghcr.io/mgoltzsche/khelm:{{.Version}}-amd64
- ghcr.io/mgoltzsche/khelm:{{.Version}}-arm64v8
- id: khelm-multiarch-major-dockerhub-image
name_template: docker.io/mgoltzsche/khelm:{{.Major}}
image_templates:
Expand All @@ -74,8 +76,8 @@ docker_manifests:
- id: khelm-multiarch-major-ghcr-image
name_template: ghcr.io/mgoltzsche/khelm:{{.Major}}
image_templates:
- docker.io/mgoltzsche/khelm:{{.Version}}-amd64
- docker.io/mgoltzsche/khelm:{{.Version}}-arm64v8
- ghcr.io/mgoltzsche/khelm:{{.Version}}-amd64
- ghcr.io/mgoltzsche/khelm:{{.Version}}-arm64v8
- id: khelm-multiarch-dockerhub-image
name_template: docker.io/mgoltzsche/khelm:{{.Version}}
image_templates:
Expand All @@ -84,5 +86,5 @@ docker_manifests:
- id: khelm-multiarch-ghcr-image
name_template: ghcr.io/mgoltzsche/khelm:{{.Version}}
image_templates:
- docker.io/mgoltzsche/khelm:{{.Version}}-amd64
- docker.io/mgoltzsche/khelm:{{.Version}}-arm64v8
- ghcr.io/mgoltzsche/khelm:{{.Version}}-amd64
- ghcr.io/mgoltzsche/khelm:{{.Version}}-arm64v8

0 comments on commit 8a15f86

Please sign in to comment.