Skip to content

Commit afd982c

Browse files
authored
ci: revert #2601 (#2648)
1 parent fcc5042 commit afd982c

File tree

3 files changed

+15
-78
lines changed

3 files changed

+15
-78
lines changed

.goreleaser.nightly.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
12
---
23
version: 2
34
builds:
@@ -9,7 +10,6 @@ builds:
910
goarch:
1011
- "amd64"
1112
- "arm64"
12-
- "riscv64"
1313
mod_timestamp: "{{ .CommitTimestamp }}"
1414
ldflags:
1515
- "-s -w"
@@ -112,37 +112,6 @@ kos:
112112
bare: true
113113
sbom: "none"
114114

115-
# RISCV64
116-
- id: "riscv64"
117-
build: "spicedb"
118-
repositories:
119-
- "quay.io/authzed/spicedb-git"
120-
- "ghcr.io/authzed/spicedb-git"
121-
- "authzed/spicedb-git"
122-
platforms:
123-
- "linux/riscv64"
124-
tags:
125-
- "v{{ .Version }}-riscv64"
126-
creation_time: "{{ .CommitTimestamp }}"
127-
ko_data_creation_time: "{{ .CommitTimestamp }}"
128-
bare: true
129-
sbom: "none"
130-
- id: "riscv64-debug"
131-
build: "spicedb"
132-
repositories:
133-
- "quay.io/authzed/spicedb-git"
134-
- "ghcr.io/authzed/spicedb-git"
135-
- "authzed/spicedb-git"
136-
base_image: "docker.io/busybox"
137-
platforms:
138-
- "linux/riscv64"
139-
tags:
140-
- "v{{ .Version }}-riscv64-debug"
141-
creation_time: "{{ .CommitTimestamp }}"
142-
ko_data_creation_time: "{{ .CommitTimestamp }}"
143-
bare: true
144-
sbom: "none"
145-
146115
checksum:
147116
name_template: "checksums.txt"
148117
snapshot:

.goreleaser.windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
12
---
23
version: 2
34
git:

.goreleaser.yml

Lines changed: 13 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
1+
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
22
---
33
version: 2
44
git:
@@ -18,10 +18,6 @@ builds:
1818
goarch:
1919
- "amd64"
2020
- "arm64"
21-
- "riscv64"
22-
ignore:
23-
- goos: "darwin"
24-
goarch: "riscv64"
2521
mod_timestamp: "{{ .CommitTimestamp }}"
2622
ldflags:
2723
- "-s -w"
@@ -164,69 +160,40 @@ dockers:
164160
build_flag_templates:
165161
- "--platform=linux/arm64"
166162
- "--build-arg=BASE=cgr.dev/chainguard/busybox"
167-
# RISCV64
168-
- image_templates:
169-
- &riscv64_image_quay "quay.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}-riscv64"
170-
- &riscv64_image_gh "ghcr.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}-riscv64"
171-
- &riscv64_image_dh "authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}-riscv64"
172-
dockerfile: *dockerfile
173-
goos: "linux"
174-
goarch: "riscv64"
175-
use: "buildx"
176-
build_flag_templates:
177-
- "--platform=linux/riscv64"
178-
# RISCV64 (debug)
179-
- image_templates:
180-
- &riscv64_debug_image_quay "quay.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}-riscv64-debug"
181-
- &riscv64_debug_image_gh "ghcr.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}-riscv64-debug"
182-
- &riscv64_debug_image_dh "authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}-riscv64-debug"
183-
dockerfile: *dockerfile
184-
goos: "linux"
185-
goarch: "riscv64"
186-
use: "buildx"
187-
build_flag_templates:
188-
- "--platform=linux/riscv64"
189-
- "--build-arg=BASE=cgr.dev/chainguard/busybox"
190163
docker_manifests:
191164
# Quay
192165
- name_template: "quay.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}"
193-
image_templates: [*amd_image_quay, *arm_image_quay, *riscv64_image_quay]
166+
image_templates: [*amd_image_quay, *arm_image_quay]
194167
- name_template: "quay.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:latest"
195-
image_templates: [*amd_image_quay, *arm_image_quay, *riscv64_image_quay]
168+
image_templates: [*amd_image_quay, *arm_image_quay]
196169
# GitHub Registry
197170
- name_template: "ghcr.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}"
198-
image_templates: [*amd_image_gh, *arm_image_gh, *riscv64_image_gh]
171+
image_templates: [*amd_image_gh, *arm_image_gh]
199172
- name_template: "ghcr.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:latest"
200-
image_templates: [*amd_image_gh, *arm_image_gh, *riscv64_image_gh]
173+
image_templates: [*amd_image_gh, *arm_image_gh]
201174
# Docker Hub
202175
- name_template: "authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}"
203-
image_templates: [*amd_image_dh, *arm_image_dh, *riscv64_image_dh]
176+
image_templates: [*amd_image_dh, *arm_image_dh]
204177
- name_template: "authzed/spicedb{{ if .IsNightly }}-git{{ end }}:latest"
205-
image_templates: [*amd_image_dh, *arm_image_dh, *riscv64_image_dh]
178+
image_templates: [*amd_image_dh, *arm_image_dh]
206179

207180
# Debug Images:
208181

209182
# Quay (debug)
210183
- name_template: "quay.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}-debug"
211-
image_templates:
212-
[*amd_debug_image_quay, *arm_debug_image_quay, *riscv64_debug_image_quay]
184+
image_templates: [*amd_debug_image_quay, *arm_debug_image_quay]
213185
- name_template: "quay.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:latest-debug"
214-
image_templates:
215-
[*amd_debug_image_quay, *arm_debug_image_quay, *riscv64_debug_image_quay]
186+
image_templates: [*amd_debug_image_quay, *arm_debug_image_quay]
216187
# GitHub Registry
217188
- name_template: "ghcr.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}-debug"
218-
image_templates:
219-
[*amd_debug_image_gh, *arm_debug_image_gh, *riscv64_debug_image_gh]
189+
image_templates: [*amd_debug_image_gh, *arm_debug_image_gh]
220190
- name_template: "ghcr.io/authzed/spicedb{{ if .IsNightly }}-git{{ end }}:latest-debug"
221-
image_templates:
222-
[*amd_debug_image_gh, *arm_debug_image_gh, *riscv64_debug_image_gh]
191+
image_templates: [*amd_debug_image_gh, *arm_debug_image_gh]
223192
# Docker Hub
224193
- name_template: "authzed/spicedb{{ if .IsNightly }}-git{{ end }}:v{{ .Version }}-debug"
225-
image_templates:
226-
[*amd_debug_image_dh, *arm_debug_image_dh, *riscv64_debug_image_dh]
194+
image_templates: [*amd_debug_image_dh, *arm_debug_image_dh]
227195
- name_template: "authzed/spicedb{{ if .IsNightly }}-git{{ end }}:latest-debug"
228-
image_templates:
229-
[*amd_debug_image_dh, *arm_debug_image_dh, *riscv64_debug_image_dh]
196+
image_templates: [*amd_debug_image_dh, *arm_debug_image_dh]
230197
checksum:
231198
name_template: "checksums.txt"
232199
snapshot:

0 commit comments

Comments
 (0)