Skip to content

Commit

Permalink
remove docker build and push from goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
corybekk committed Jan 7, 2025
1 parent 89f7020 commit 89a7088
Showing 1 changed file with 74 additions and 74 deletions.
148 changes: 74 additions & 74 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 89a7088

Please sign in to comment.