From d238f7e8b80744b524025575f71d943f0b016cbb 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 b0d183176e..31197a95bd 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -94,58 +94,6 @@ nfpms: license: MIT formats: - deb -dockers: - - image_templates: - - &amd_image "stackexchange/{{.ProjectName}}:{{ .Version }}-amd64" - - &amd_image_ghcr "ghcr.io/stackexchange/{{.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 "stackexchange/{{.ProjectName}}:{{ .Version }}-arm64" - - &arm_image_ghcr "ghcr.io/stackexchange/{{.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: "stackexchange/{{.ProjectName}}:{{ .Version }}" - image_templates: - - *amd_image - - *arm_image - - name_template: "ghcr.io/stackexchange/{{.ProjectName}}:{{ .Version }}" - image_templates: - - *amd_image_ghcr - - *arm_image_ghcr - - name_template: "stackexchange/{{.ProjectName}}:latest" - skip_push: auto - image_templates: - - *amd_image - - *arm_image - - name_template: "ghcr.io/stackexchange/{{.ProjectName}}:latest" - skip_push: auto - image_templates: - - *amd_image_ghcr - - *arm_image_ghcr checksum: name_template: 'checksums.txt' snapshot: