From 89a7088633c53287085b891d9cffa126aa87cc57 Mon Sep 17 00:00:00 2001 From: Cory Bekker Date: Tue, 7 Jan 2025 10:21:19 -0800 Subject: [PATCH] remove docker build and push from goreleaser --- .goreleaser.yml | 148 ++++++++++++++++++++++++------------------------ 1 file changed, 74 insertions(+), 74 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index b3e1abb3..0f6e9723 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -45,68 +45,68 @@ builds: # {{- end -}} # env: # - QUILL_LOG_FILE=/tmp/quill-{{ .Target }}.log -archives: - - id: default - builds: - - default - name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ .Arm }}" - format_overrides: - - goos: windows - format: zip -dockers: - - use: buildx - goos: linux - goarch: amd64 - dockerfile: Dockerfile - image_templates: - - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-amd64 - build_flag_templates: - - "--target=goreleaser" - - "--pull" - - "--label=org.opencontainers.image.created={{.Date}}" - - "--label=org.opencontainers.image.title={{.ProjectName}}" - - "--label=org.opencontainers.image.revision={{.FullCommit}}" - - "--label=org.opencontainers.image.version={{.Version}}" - - "--label=org.opencontainers.image.source=https://github.com/ekristen/aws-nuke" - - "--platform=linux/amd64" - - use: buildx - goos: linux - goarch: arm64 - dockerfile: Dockerfile - image_templates: - - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm64 - build_flag_templates: - - "--platform=linux/arm64" - - "--target=goreleaser" - - "--pull" - - "--label=org.opencontainers.image.created={{.Date}}" - - "--label=org.opencontainers.image.title={{.ProjectName}}" - - "--label=org.opencontainers.image.revision={{.FullCommit}}" - - "--label=org.opencontainers.image.version={{.Version}}" - - '--label=org.opencontainers.image.source={{replace (replace (replace .GitURL "git@" "https://") ".git" "") "github.com:" "github.com/"}}' - - use: buildx - goos: linux - goarch: arm - goarm: "7" - dockerfile: Dockerfile - image_templates: - - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm32v7 - build_flag_templates: - - "--platform=linux/arm/v7" - - "--target=goreleaser" - - "--pull" - - "--label=org.opencontainers.image.created={{.Date}}" - - "--label=org.opencontainers.image.title={{.ProjectName}}" - - "--label=org.opencontainers.image.revision={{.FullCommit}}" - - "--label=org.opencontainers.image.version={{.Version}}" - - '--label=org.opencontainers.image.source={{replace (replace (replace .GitURL "git@" "https://") ".git" "") "github.com:" "github.com/"}}' -docker_manifests: - - use: docker - name_template: ghcr.io/ekristen/aws-nuke:v{{ .Version }} - image_templates: - - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-amd64 - - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm64 - - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm32v7 +# archives: +# - id: default +# builds: +# - default +# name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ .Arm }}" +# format_overrides: +# - goos: windows +# format: zip +# dockers: +# - use: buildx +# goos: linux +# goarch: amd64 +# dockerfile: Dockerfile +# image_templates: +# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-amd64 +# build_flag_templates: +# - "--target=goreleaser" +# - "--pull" +# - "--label=org.opencontainers.image.created={{.Date}}" +# - "--label=org.opencontainers.image.title={{.ProjectName}}" +# - "--label=org.opencontainers.image.revision={{.FullCommit}}" +# - "--label=org.opencontainers.image.version={{.Version}}" +# - "--label=org.opencontainers.image.source=https://github.com/ekristen/aws-nuke" +# - "--platform=linux/amd64" +# - use: buildx +# goos: linux +# goarch: arm64 +# dockerfile: Dockerfile +# image_templates: +# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm64 +# build_flag_templates: +# - "--platform=linux/arm64" +# - "--target=goreleaser" +# - "--pull" +# - "--label=org.opencontainers.image.created={{.Date}}" +# - "--label=org.opencontainers.image.title={{.ProjectName}}" +# - "--label=org.opencontainers.image.revision={{.FullCommit}}" +# - "--label=org.opencontainers.image.version={{.Version}}" +# - '--label=org.opencontainers.image.source={{replace (replace (replace .GitURL "git@" "https://") ".git" "") "github.com:" "github.com/"}}' +# - use: buildx +# goos: linux +# goarch: arm +# goarm: "7" +# dockerfile: Dockerfile +# image_templates: +# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm32v7 +# build_flag_templates: +# - "--platform=linux/arm/v7" +# - "--target=goreleaser" +# - "--pull" +# - "--label=org.opencontainers.image.created={{.Date}}" +# - "--label=org.opencontainers.image.title={{.ProjectName}}" +# - "--label=org.opencontainers.image.revision={{.FullCommit}}" +# - "--label=org.opencontainers.image.version={{.Version}}" +# - '--label=org.opencontainers.image.source={{replace (replace (replace .GitURL "git@" "https://") ".git" "") "github.com:" "github.com/"}}' +# docker_manifests: +# - use: docker +# name_template: ghcr.io/ekristen/aws-nuke:v{{ .Version }} +# image_templates: +# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-amd64 +# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm64 +# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm32v7 # signs: # - ids: # - default @@ -115,15 +115,15 @@ docker_manifests: # certificate: "${artifact}.pem" # args: ["sign-blob", "--yes", "--oidc-provider=github", "--oidc-issuer=https://token.actions.githubusercontent.com", "--output-certificate=${certificate}", "--output-signature=${signature}", "${artifact}"] # artifacts: all -docker_signs: - - ids: - - default - artifacts: all - cmd: cosign - args: ["sign", "--yes", "--oidc-provider=github", "--oidc-issuer=https://token.actions.githubusercontent.com", "--output-certificate=${certificate}", "--output-signature=${signature}", "${artifact}"] -checksum: - name_template: "checksums.txt" -snapshot: - name_template: '{{ trimprefix .Summary "v" }}' -changelog: - disable: true +# docker_signs: +# - ids: +# - default +# artifacts: all +# cmd: cosign +# args: ["sign", "--yes", "--oidc-provider=github", "--oidc-issuer=https://token.actions.githubusercontent.com", "--output-certificate=${certificate}", "--output-signature=${signature}", "${artifact}"] +# checksum: +# name_template: "checksums.txt" +# snapshot: +# name_template: '{{ trimprefix .Summary "v" }}' +# changelog: +# disable: true