@@ -32,8 +32,8 @@ dockers:
3232 goos : linux
3333 goarch : amd64
3434 image_templates :
35- - " sgaunet/{{ .ProjectName }}:{{ .Version }}-amd64"
36- - " sgaunet/{{ .ProjectName }}:latest-amd64"
35+ - " ghcr.io/ sgaunet/{{ .ProjectName }}:{{ .Version }}-amd64"
36+ - " ghcr.io/ sgaunet/{{ .ProjectName }}:latest-amd64"
3737 build_flag_templates :
3838 - " --platform=linux/amd64"
3939 - " --label=org.opencontainers.image.created={{.Date}}"
@@ -42,7 +42,7 @@ dockers:
4242 - " --label=org.opencontainers.image.version={{.Version}}"
4343 - " --label=org.opencontainers.image.description=Backup Gitlab repositories"
4444 - " --label=org.opencontainers.image.licenses=MIT"
45- - " --label=org.opencontainers.image.source=https://github.com/sgaunet/gitlab-backup2s3"
45+ - " --label=org.opencontainers.image.source=https://github.com/ghcr.io/ sgaunet/gitlab-backup2s3"
4646 - " --label=org.opencontainers.image.authors=Sylvain Gaunet"
4747 - " --build-arg=GOOS=linux"
4848 - " --build-arg=GOARCH=amd64"
@@ -53,8 +53,8 @@ dockers:
5353 goos : linux
5454 goarch : arm64
5555 image_templates :
56- - " sgaunet/{{ .ProjectName }}:{{ .Version }}-arm64v8"
57- - " sgaunet/{{ .ProjectName }}:latest-arm64v8"
56+ - " ghcr.io/ sgaunet/{{ .ProjectName }}:{{ .Version }}-arm64v8"
57+ - " ghcr.io/ sgaunet/{{ .ProjectName }}:latest-arm64v8"
5858 build_flag_templates :
5959 - " --platform=linux/arm64/v8"
6060 - " --label=org.opencontainers.image.created={{.Date}}"
@@ -63,22 +63,22 @@ dockers:
6363 - " --label=org.opencontainers.image.version={{.Version}}"
6464 - " --label=org.opencontainers.image.description=Backup Gitlab repositories"
6565 - " --label=org.opencontainers.image.licenses=MIT"
66- - " --label=org.opencontainers.image.source=https://github.com/sgaunet/gitlab-backup2s3"
66+ - " --label=org.opencontainers.image.source=https://github.com/ghcr.io/ sgaunet/gitlab-backup2s3"
6767 - " --label=org.opencontainers.image.authors=Sylvain Gaunet"
6868 extra_files :
6969 - resources
7070
7171
7272docker_manifests :
7373 # https://goreleaser.com/customization/docker_manifest/
74- - name_template : sgaunet/{{ .ProjectName }}:{{ .Version }}
74+ - name_template : ghcr.io/ sgaunet/{{ .ProjectName }}:{{ .Version }}
7575 image_templates :
76- - sgaunet/{{ .ProjectName }}:{{ .Version }}-amd64
77- - sgaunet/{{ .ProjectName }}:{{ .Version }}-arm64v8
78- - name_template : sgaunet/{{ .ProjectName }}:latest
76+ - ghcr.io/ sgaunet/{{ .ProjectName }}:{{ .Version }}-amd64
77+ - ghcr.io/ sgaunet/{{ .ProjectName }}:{{ .Version }}-arm64v8
78+ - name_template : ghcr.io/ sgaunet/{{ .ProjectName }}:latest
7979 image_templates :
80- - sgaunet/{{ .ProjectName }}:latest-amd64
81- - sgaunet/{{ .ProjectName }}:latest-arm64v8
80+ - ghcr.io/ sgaunet/{{ .ProjectName }}:latest-amd64
81+ - ghcr.io/ sgaunet/{{ .ProjectName }}:latest-arm64v8
8282
8383changelog :
8484 sort : asc
0 commit comments