Skip to content

Commit 614332c

Browse files
authored
feat: Use ghcr.io rather than Docker Hub (#5)
1 parent 76f0727 commit 614332c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.goreleaser.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ dockers:
5151
- image_templates:
5252
# Specify the image tag including `-amd64` suffix if the build is not a snapshot build or is not being built on
5353
# arm64 machine. This allows for using the snapshot image build without the archtecture specific suffix
54-
# consistently on local machines, i.e. can always use `d2iq-labs/capi-runtime-extensions:v<VERSION>` on the machine the snapshot
54+
# consistently on local machines, i.e. can always use `ghcr.io/d2iq-labs/capi-runtime-extensions:v<VERSION>` on the machine the snapshot
5555
# is built on.
5656
#
5757
# For a release build the `-amd64` suffix will always be included and the `docker_manifests` specification below
5858
# will create the final multiplatform manifest to be pushed to the registry.
59-
- 'd2iq-labs/{{.ProjectName}}:v{{trimprefix .Version "v"}}{{ if or (not .IsSnapshot) (not (eq .Runtime.Goarch "amd64")) }}-amd64{{ end }}'
59+
- ghcr.io/d2iq-labs/{{.ProjectName}}:v{{trimprefix .Version "v"}}{{ if or (not .IsSnapshot) (not (eq .Runtime.Goarch "amd64")) }}-amd64{{ end }}
6060
use: buildx
6161
dockerfile: Dockerfile
6262
build_flag_templates:
@@ -70,12 +70,12 @@ dockers:
7070
- image_templates:
7171
# Specify the image tag including `-amd64v8` suffix if the build is not a snapshot build or is not being built on
7272
# arm64 machine. This allows for using the snapshot image build without the archtecture specific suffix
73-
# consistently on local machines, i.e. can always use `d2iq-labs/capi-runtime-extensions:v<VERSION>` on the machine the snapshot
73+
# consistently on local machines, i.e. can always use `ghcr.io/d2iq-labs/capi-runtime-extensions:v<VERSION>` on the machine the snapshot
7474
# is built on.
7575
#
7676
# For a release build the `-amd64v8` suffix will always be included and the `docker_manifests` specification below
7777
# will create the final multiplatform manifest to be pushed to the registry.
78-
- 'd2iq-labs/{{.ProjectName}}:v{{trimprefix .Version "v"}}{{ if or (not .IsSnapshot) (not (eq .Runtime.Goarch "arm64")) }}-arm64v8{{ end }}'
78+
- ghcr.io/d2iq-labs/{{.ProjectName}}:v{{trimprefix .Version "v"}}{{ if or (not .IsSnapshot) (not (eq .Runtime.Goarch "arm64")) }}-arm64v8{{ end }}
7979
use: buildx
8080
goarch: arm64
8181
dockerfile: Dockerfile
@@ -90,8 +90,8 @@ dockers:
9090
docker_manifests:
9191
- name_template: d2iq-labs/{{.ProjectName}}:v{{trimprefix .Version "v"}}
9292
image_templates:
93-
- d2iq-labs/{{.ProjectName}}:v{{trimprefix .Version "v"}}-amd64
94-
- d2iq-labs/{{.ProjectName}}:v{{trimprefix .Version "v"}}-arm64v8
93+
- ghcr.io/d2iq-labs/{{.ProjectName}}:v{{trimprefix .Version "v"}}-amd64
94+
- ghcr.io/d2iq-labs/{{.ProjectName}}:v{{trimprefix .Version "v"}}-arm64v8
9595
checksum:
9696
name_template: 'checksums.txt'
9797
snapshot:

0 commit comments

Comments
 (0)