File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -344,6 +344,29 @@ jobs:
344
344
- name : Delete Windows EV Signing Cert
345
345
run : rm /tmp/ev_cert.pem
346
346
347
+ - name : Publish Coder CLI binaries and detached signatures to GCS
348
+ if : ${{ !inputs.dry_run && github.ref == 'refs/heads/main' && github.repository_owner == 'coder'}}
349
+ run : |
350
+ set -euxo pipefail
351
+
352
+ version="$(./scripts/version.sh)"
353
+
354
+ binaries=(
355
+ "coder-darwin-amd64"
356
+ "coder-darwin-arm64"
357
+ "coder-linux-amd64"
358
+ "coder-linux-arm64"
359
+ "coder-linux-armv7"
360
+ "coder-windows-amd64.exe"
361
+ "coder-windows-arm64.exe"
362
+ )
363
+
364
+ for binary in "${binaries[@]}"; do
365
+ detached_signature="${binary}.asc"
366
+ gcloud storage cp "./site/out/bin/${binary}" "gs://releases.coder.com/coder-cli/${version}/${binary}"
367
+ gcloud storage cp "./site/out/bin/${detached_signature}" "gs://releases.coder.com/coder-cli/${version}/${detached_signature}"
368
+ done
369
+
347
370
- name : Determine base image tag
348
371
id : image-base-tag
349
372
run : |
You can’t perform that action at this time.
0 commit comments