Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ signs:
dockers:
- image_templates:
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-amd64'
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:latest-amd64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-amd64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:latest-amd64'
use: buildx
goos: linux
goarch: amd64
Expand All @@ -183,7 +185,9 @@ dockers:

- image_templates:
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-arm64'
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:latest-arm64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-arm64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:latest-arm64'
use: buildx
goos: linux
goarch: arm64
Expand All @@ -201,7 +205,9 @@ dockers:

- image_templates:
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-alpine-amd64'
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:alpine-amd64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-alpine-amd64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:alpine-amd64'
use: buildx
goos: linux
goarch: amd64
Expand All @@ -219,7 +225,9 @@ dockers:

- image_templates:
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-alpine-arm64'
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:alpine-arm64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-alpine-arm64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:alpine-arm64'
use: buildx
goos: linux
goarch: arm64
Expand Down Expand Up @@ -257,6 +265,26 @@ docker_manifests:
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-alpine-amd64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-alpine-arm64'

- name_template: 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:latest'
image_templates:
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:latest-amd64'
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:latest-arm64'

- name_template: 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:alpine'
image_templates:
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:alpine-amd64'
- 'ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:alpine-arm64'

- name_template: 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:latest'
image_templates:
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:latest-amd64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:latest-arm64'

- name_template: 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:alpine'
image_templates:
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:alpine-amd64'
- 'quay.io/{{ .Env.GITHUB_REPOSITORY }}:alpine-arm64'

# xref: https://goreleaser.com/customization/docker_sign/
docker_signs:
- cmd: cosign
Expand Down Expand Up @@ -345,11 +373,15 @@ release:

- `ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}`
- `ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-alpine`
- `ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:latest`
- `ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:alpine`

### Quay.io

- `quay.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}`
- `quay.io/{{ .Env.GITHUB_REPOSITORY }}:v{{ .Version }}-alpine`
- `quay.io/{{ .Env.GITHUB_REPOSITORY }}:latest`
- `quay.io/{{ .Env.GITHUB_REPOSITORY }}:alpine`

### Verify container image signature

Expand Down