Skip to content

Commit

Permalink
Skip Docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
cafferata committed Jan 26, 2024
1 parent a76c7ff commit 353ff81
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,58 +94,6 @@ nfpms:
license: MIT
formats:
- deb
dockers:
- image_templates:
- &amd_image "{{ .Env.DOCKERHUB_ORGANIZATION }}/{{.ProjectName}}:{{ .Version }}-amd64"
- &amd_image_ghcr "ghcr.io/{{ .Env.DOCKERHUB_ORGANIZATION }}/{{.ProjectName}}:{{ .Version }}-amd64"
goos: linux
goarch: amd64
use: buildx
ids:
- build
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.name={{ .ProjectName }}"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.version={{ .Version }}"
- "--label=org.opencontainers.image.source={{ .GitURL }}"
- image_templates:
- &arm_image "{{ .Env.DOCKERHUB_ORGANIZATION }}/{{.ProjectName}}:{{ .Version }}-arm64"
- &arm_image_ghcr "ghcr.io/{{ .Env.DOCKERHUB_ORGANIZATION }}/{{.ProjectName}}:{{ .Version }}-arm64"
goos: linux
goarch: arm64
use: buildx
ids:
- build
build_flag_templates:
- "--pull"
- "--platform=linux/arm64"
- "--label=org.opencontainers.image.created={{ .Date }}"
- "--label=org.opencontainers.image.name={{ .ProjectName }}"
- "--label=org.opencontainers.image.revision={{ .FullCommit }}"
- "--label=org.opencontainers.image.version={{ .Version }}"
- "--label=org.opencontainers.image.source={{ .GitURL }}"
docker_manifests:
- name_template: "{{ .Env.DOCKERHUB_ORGANIZATION }}/{{.ProjectName}}:{{ .Version }}"
image_templates:
- *amd_image
- *arm_image
- name_template: "ghcr.io/{{ .Env.DOCKERHUB_ORGANIZATION }}/{{.ProjectName}}:{{ .Version }}"
image_templates:
- *amd_image_ghcr
- *arm_image_ghcr
- name_template: "{{ .Env.DOCKERHUB_ORGANIZATION }}/{{.ProjectName}}:latest"
skip_push: auto
image_templates:
- *amd_image
- *arm_image
- name_template: "ghcr.io/{{ .Env.DOCKERHUB_ORGANIZATION }}/{{.ProjectName}}:latest"
skip_push: auto
image_templates:
- *amd_image_ghcr
- *arm_image_ghcr
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 353ff81

Please sign in to comment.