Skip to content

Commit bb4fe2d

Browse files
committed
ci: fixes
Signed-off-by: Carlos Alexandro Becker <[email protected]>
1 parent c82a652 commit bb4fe2d

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.goreleaser.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
33
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
44
#
5-
# This is an example-real .goreleaser.yml file with some sensible defaults.
5+
# This is an example .goreleaser.yml file with some sensible defaults.
66
# Make sure to check the documentation at https://goreleaser.com
77
version: 2
8+
9+
project_name: example
10+
811
before:
912
hooks:
1013
- go mod tidy
@@ -52,7 +55,7 @@ release:
5255
<a href="https://goreleser.com"><img src="https://raw.githubusercontent.com/goreleaser/artwork/master/opencollective-header.png" with="100%" alt="GoReleaser logo"></a>
5356
5457
Find example-reals and commented usage of all options in our [website](https://goreleaser.com/intro/).
55-
Want to help? You can [sponsor](https://goreleaser.com/sponsors/),get a [Pro License](https://goreleaser.com/pro) or [contribute](https://goreleaser.com/contributing).
58+
Want to help? You can [sponsor](https://goreleaser.com/sponsors/), get a [Pro License](https://goreleaser.com/pro) or [contribute](https://goreleaser.com/contributing).
5659
Also, feel free to reach out on [Discord](https://discord.gg/RGEBtg8vQ6) and [Twitter](https://twitter.com/goreleaser)!
5760
5861
nightly:
@@ -63,7 +66,7 @@ nightly:
6366

6467
dockers:
6568
- image_templates:
66-
- "ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:v{{ .Version }}-amd64"
69+
- "ghcr.io/goreleaser/example-split-merge-real:v{{ .Version }}-amd64"
6770
build_flag_templates:
6871
- "--pull"
6972
- "--label=org.opencontainers.image.description=Just an example-real"
@@ -75,7 +78,7 @@ dockers:
7578
- "--platform=linux/amd64"
7679
use: buildx
7780
- image_templates:
78-
- "ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:v{{ .Version }}-arm64"
81+
- "ghcr.io/goreleaser/example-split-merge-real:v{{ .Version }}-arm64"
7982
build_flag_templates:
8083
- "--pull"
8184
- "--label=org.opencontainers.image.description=Just an example-real"
@@ -87,7 +90,7 @@ dockers:
8790
- "--platform=linux/arm64"
8891
use: buildx
8992
# - image_templates:
90-
# - 'ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:v{{ .Version }}-windows-amd64'
93+
# - 'ghcr.io/goreleaser/example-split-merge-real:v{{ .Version }}-windows-amd64'
9194
# build_flag_templates:
9295
# - "--pull"
9396
# - "--label=org.opencontainers.image.description=Just an example-real"
@@ -101,30 +104,29 @@ dockers:
101104
# dockerfile: windows.dockerfile
102105

103106
docker_manifests:
104-
- name_template: "ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:v{{ .Version }}"
107+
- name_template: "ghcr.io/goreleaser/example-split-merge-real:v{{ .Version }}"
105108
image_templates:
106-
- "ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:v{{ .Version }}-amd64"
107-
- "ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:v{{ .Version }}-arm64"
108-
# - 'ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:v{{ .Version }}-windows-amd64'
109-
- name_template: "{{ if not .IsNightly }}ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:latest{{ end }}"
109+
- "ghcr.io/goreleaser/example-split-merge-real:v{{ .Version }}-amd64"
110+
- "ghcr.io/goreleaser/example-split-merge-real:v{{ .Version }}-arm64"
111+
# - 'ghcr.io/goreleaser/example-split-merge-real:v{{ .Version }}-windows-amd64'
112+
- name_template: "{{ if not .IsNightly }}ghcr.io/goreleaser/example-split-merge-real:latest{{ end }}"
110113
image_templates:
111-
- "ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:v{{ .Version }}-amd64"
112-
- "ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:v{{ .Version }}-arm64"
113-
# - 'ghcr.io/caarlos0/goreleaser-pro-split-merge-example-real:v{{ .Version }}-windows-amd64'
114+
- "ghcr.io/goreleaser/example-split-merge-real:v{{ .Version }}-amd64"
115+
- "ghcr.io/goreleaser/example-split-merge-real:v{{ .Version }}-arm64"
116+
# - 'ghcr.io/goreleaser/example-split-merge-real:v{{ .Version }}-windows-amd64'
114117

115118
# signs the checksum file
116119
# all files (including the sboms) are included in the checksum, so we don't need to sign each one if we don't want to
117120
# https://goreleaser.com/customization/sign
118121
signs:
119122
- cmd: cosign
120-
env:
121-
- COSIGN_EXPERIMENTAL=1
122123
certificate: "${artifact}.pem"
123124
args:
124125
- sign-blob
125126
- "--output-certificate=${certificate}"
126127
- "--output-signature=${signature}"
127128
- "${artifact}"
129+
- "--yes"
128130
artifacts: checksum
129131
output: true
130132

@@ -144,8 +146,6 @@ sboms:
144146
# https://goreleaser.com/customization/docker_sign
145147
docker_signs:
146148
- cmd: cosign
147-
env:
148-
- COSIGN_EXPERIMENTAL=1
149149
artifacts: images
150150
output: true
151151
args:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
FROM alpine
2-
COPY goreleaser-pro-split-merge-example-real /usr/bin/example
2+
COPY example /usr/bin/example
33
ENTRYPOINT ["/usr/bin/example"]

windows.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM mcr.microsoft.com/windows/nanoserver:ltsc2022
22
WORKDIR /app
3-
COPY goreleaser-pro-split-merge-example-real.exe example.exe
3+
COPY example.exe .
44
ENTRYPOINT ["/app/example.exe"]

0 commit comments

Comments
 (0)