From 4c46841f0271127cc3b53f52b40cf7e9f7a9b552 Mon Sep 17 00:00:00 2001 From: Jeffrey Cafferata Date: Tue, 13 Feb 2024 06:49:11 +0100 Subject: [PATCH] CiCD: Minus Docker. --- .goreleaser.yml | 52 ------------------------------------------------- 1 file changed, 52 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 15fce64cd8..fc82799cdf 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: