chore: Push edge binaries to bucket (#8668)

This will allow us to have a redirect URL for edge binaries from the
website as we had before.

The new secret has been created but will need to merge to get access to
it and test.

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
This commit is contained in:
Charlie Egan
2026-05-18 15:52:20 +01:00
committed by GitHub
parent c67800411c
commit 019eec1f03
+10
View File
@@ -193,6 +193,16 @@ jobs:
merge-multiple: true
path: _release
- name: Push edge binaries to bucket
env:
S3_RELEASE_BINARY_URL: ${{ secrets.S3_RELEASE_BINARY_URL }} # zizmor: ignore[secrets-outside-env]
if: ${{ env.S3_RELEASE_BINARY_URL }}
run: |
for asset in _release/*/opa_*_*; do
curl -f -X PUT --data-binary @"$asset" \
"${S3_RELEASE_BINARY_URL}/binaries/edge/$(basename "$asset")"
done
- name: Create or update dev prerelease
env:
GH_TOKEN: ${{ github.token }}