@@ -35,95 +35,3 @@ builds:
35
35
- -X '{{ .ModulePath }}/pkg/common.BRANCH={{ .Branch }}'
36
36
- -X '{{ .ModulePath }}/pkg/common.VERSION={{ .Tag }}'
37
37
- -X '{{ .ModulePath }}/pkg/common.COMMIT={{ .Commit }}'
38
- # hooks:
39
- # post:
40
- # - cmd: |
41
- # {{- if eq .Os "darwin" -}}
42
- # quill sign-and-notarize "{{ .Path }}" --dry-run={{ .IsSnapshot }} --ad-hoc={{ .IsSnapshot }} -vv
43
- # {{- else -}}
44
- # true
45
- # {{- end -}}
46
- # env:
47
- # - 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
110
- # signs:
111
- # - ids:
112
- # - default
113
- # cmd: cosign
114
- # signature: "${artifact}.sig"
115
- # certificate: "${artifact}.pem"
116
- # args: ["sign-blob", "--yes", "--oidc-provider=github", "--oidc-issuer=https://token.actions.githubusercontent.com", "--output-certificate=${certificate}", "--output-signature=${signature}", "${artifact}"]
117
- # 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
0 commit comments