Skip to content

Commit 89a7088

Browse files
committed
remove docker build and push from goreleaser
1 parent 89f7020 commit 89a7088

File tree

1 file changed

+74
-74
lines changed

1 file changed

+74
-74
lines changed

.goreleaser.yml

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -45,68 +45,68 @@ builds:
4545
# {{- end -}}
4646
# env:
4747
# - QUILL_LOG_FILE=/tmp/quill-{{ .Target }}.log
48-
archives:
49-
- id: default
50-
builds:
51-
- default
52-
name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ .Arm }}"
53-
format_overrides:
54-
- goos: windows
55-
format: zip
56-
dockers:
57-
- use: buildx
58-
goos: linux
59-
goarch: amd64
60-
dockerfile: Dockerfile
61-
image_templates:
62-
- ghcr.io/ekristen/aws-nuke:v{{ .Version }}-amd64
63-
build_flag_templates:
64-
- "--target=goreleaser"
65-
- "--pull"
66-
- "--label=org.opencontainers.image.created={{.Date}}"
67-
- "--label=org.opencontainers.image.title={{.ProjectName}}"
68-
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
69-
- "--label=org.opencontainers.image.version={{.Version}}"
70-
- "--label=org.opencontainers.image.source=https://github.com/ekristen/aws-nuke"
71-
- "--platform=linux/amd64"
72-
- use: buildx
73-
goos: linux
74-
goarch: arm64
75-
dockerfile: Dockerfile
76-
image_templates:
77-
- ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm64
78-
build_flag_templates:
79-
- "--platform=linux/arm64"
80-
- "--target=goreleaser"
81-
- "--pull"
82-
- "--label=org.opencontainers.image.created={{.Date}}"
83-
- "--label=org.opencontainers.image.title={{.ProjectName}}"
84-
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
85-
- "--label=org.opencontainers.image.version={{.Version}}"
86-
- '--label=org.opencontainers.image.source={{replace (replace (replace .GitURL "git@" "https://") ".git" "") "github.com:" "github.com/"}}'
87-
- use: buildx
88-
goos: linux
89-
goarch: arm
90-
goarm: "7"
91-
dockerfile: Dockerfile
92-
image_templates:
93-
- ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm32v7
94-
build_flag_templates:
95-
- "--platform=linux/arm/v7"
96-
- "--target=goreleaser"
97-
- "--pull"
98-
- "--label=org.opencontainers.image.created={{.Date}}"
99-
- "--label=org.opencontainers.image.title={{.ProjectName}}"
100-
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
101-
- "--label=org.opencontainers.image.version={{.Version}}"
102-
- '--label=org.opencontainers.image.source={{replace (replace (replace .GitURL "git@" "https://") ".git" "") "github.com:" "github.com/"}}'
103-
docker_manifests:
104-
- use: docker
105-
name_template: ghcr.io/ekristen/aws-nuke:v{{ .Version }}
106-
image_templates:
107-
- ghcr.io/ekristen/aws-nuke:v{{ .Version }}-amd64
108-
- ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm64
109-
- ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm32v7
48+
# archives:
49+
# - id: default
50+
# builds:
51+
# - default
52+
# name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ .Arm }}"
53+
# format_overrides:
54+
# - goos: windows
55+
# format: zip
56+
# dockers:
57+
# - use: buildx
58+
# goos: linux
59+
# goarch: amd64
60+
# dockerfile: Dockerfile
61+
# image_templates:
62+
# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-amd64
63+
# build_flag_templates:
64+
# - "--target=goreleaser"
65+
# - "--pull"
66+
# - "--label=org.opencontainers.image.created={{.Date}}"
67+
# - "--label=org.opencontainers.image.title={{.ProjectName}}"
68+
# - "--label=org.opencontainers.image.revision={{.FullCommit}}"
69+
# - "--label=org.opencontainers.image.version={{.Version}}"
70+
# - "--label=org.opencontainers.image.source=https://github.com/ekristen/aws-nuke"
71+
# - "--platform=linux/amd64"
72+
# - use: buildx
73+
# goos: linux
74+
# goarch: arm64
75+
# dockerfile: Dockerfile
76+
# image_templates:
77+
# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm64
78+
# build_flag_templates:
79+
# - "--platform=linux/arm64"
80+
# - "--target=goreleaser"
81+
# - "--pull"
82+
# - "--label=org.opencontainers.image.created={{.Date}}"
83+
# - "--label=org.opencontainers.image.title={{.ProjectName}}"
84+
# - "--label=org.opencontainers.image.revision={{.FullCommit}}"
85+
# - "--label=org.opencontainers.image.version={{.Version}}"
86+
# - '--label=org.opencontainers.image.source={{replace (replace (replace .GitURL "git@" "https://") ".git" "") "github.com:" "github.com/"}}'
87+
# - use: buildx
88+
# goos: linux
89+
# goarch: arm
90+
# goarm: "7"
91+
# dockerfile: Dockerfile
92+
# image_templates:
93+
# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm32v7
94+
# build_flag_templates:
95+
# - "--platform=linux/arm/v7"
96+
# - "--target=goreleaser"
97+
# - "--pull"
98+
# - "--label=org.opencontainers.image.created={{.Date}}"
99+
# - "--label=org.opencontainers.image.title={{.ProjectName}}"
100+
# - "--label=org.opencontainers.image.revision={{.FullCommit}}"
101+
# - "--label=org.opencontainers.image.version={{.Version}}"
102+
# - '--label=org.opencontainers.image.source={{replace (replace (replace .GitURL "git@" "https://") ".git" "") "github.com:" "github.com/"}}'
103+
# docker_manifests:
104+
# - use: docker
105+
# name_template: ghcr.io/ekristen/aws-nuke:v{{ .Version }}
106+
# image_templates:
107+
# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-amd64
108+
# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm64
109+
# - ghcr.io/ekristen/aws-nuke:v{{ .Version }}-arm32v7
110110
# signs:
111111
# - ids:
112112
# - default
@@ -115,15 +115,15 @@ docker_manifests:
115115
# certificate: "${artifact}.pem"
116116
# args: ["sign-blob", "--yes", "--oidc-provider=github", "--oidc-issuer=https://token.actions.githubusercontent.com", "--output-certificate=${certificate}", "--output-signature=${signature}", "${artifact}"]
117117
# artifacts: all
118-
docker_signs:
119-
- ids:
120-
- default
121-
artifacts: all
122-
cmd: cosign
123-
args: ["sign", "--yes", "--oidc-provider=github", "--oidc-issuer=https://token.actions.githubusercontent.com", "--output-certificate=${certificate}", "--output-signature=${signature}", "${artifact}"]
124-
checksum:
125-
name_template: "checksums.txt"
126-
snapshot:
127-
name_template: '{{ trimprefix .Summary "v" }}'
128-
changelog:
129-
disable: true
118+
# docker_signs:
119+
# - ids:
120+
# - default
121+
# artifacts: all
122+
# cmd: cosign
123+
# args: ["sign", "--yes", "--oidc-provider=github", "--oidc-issuer=https://token.actions.githubusercontent.com", "--output-certificate=${certificate}", "--output-signature=${signature}", "${artifact}"]
124+
# checksum:
125+
# name_template: "checksums.txt"
126+
# snapshot:
127+
# name_template: '{{ trimprefix .Summary "v" }}'
128+
# changelog:
129+
# disable: true

0 commit comments

Comments
 (0)