chore: Update Docker image templates and manifest names

This commit is contained in:
divyam234 2024-08-11 23:48:53 +05:30
parent 889a0c31dd
commit a40304eeed

View file

@ -36,15 +36,15 @@ archives:
- LICENSE - LICENSE
dockers: dockers:
- image_templates: - image_templates:
- "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:{{ .Tag }}-amd64" - "ghcr.io/divyam234/{{ .ProjectName }}:{{ .Tag }}-amd64"
use: buildx use: buildx
dockerfile: goreleaser.dockerfile dockerfile: goreleaser.dockerfile
build_flag_templates: build_flag_templates:
- "--platform=linux/amd64" - "--platform=linux/amd64"
- image_templates: - image_templates:
- "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:{{ .Tag }}-arm64" - "ghcr.io/divyam234/{{ .ProjectName }}:{{ .Tag }}-arm64"
- "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:latest" - "ghcr.io/divyam234/{{ .ProjectName }}:latest"
use: buildx use: buildx
dockerfile: goreleaser.dockerfile dockerfile: goreleaser.dockerfile
goarch: arm64 goarch: arm64
@ -52,14 +52,14 @@ dockers:
- --platform=linux/arm64/v8 - --platform=linux/arm64/v8
docker_manifests: docker_manifests:
- name_template: "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:{{ .Tag }}" - name_template: "ghcr.io/divyam234/{{ .ProjectName }}:{{ .Tag }}"
image_templates: image_templates:
- "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:{{ .Tag }}-amd64" - "ghcr.io/divyam234/{{ .ProjectName }}:{{ .Tag }}-amd64"
- "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:{{ .Tag }}-arm64" - "ghcr.io/divyam234/{{ .ProjectName }}:{{ .Tag }}-arm64"
- name_template: "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:latest" - name_template: "ghcr.io/divyam234/{{ .ProjectName }}:latest"
image_templates: image_templates:
- "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:{{ .Tag }}-amd64" - "ghcr.io/divyam234/{{ .ProjectName }}:{{ .Tag }}-amd64"
- "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:{{ .Tag }}-arm64" - "ghcr.io/divyam234/{{ .ProjectName }}:{{ .Tag }}-arm64"
changelog: changelog:
sort: asc sort: asc