ci: explicitly build s3proxy container image tag before referencing (#2806)

Otherwise, the file might not exist.
This commit is contained in:
Malte Poll 2024-01-08 14:32:08 +01:00 committed by GitHub
parent 7d778d1b5b
commit d3b951300d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,9 @@ runs:
shell: bash
run: |
bazel run //bazel/release:s3proxy_push
echo s3proxyImage=$(cat ./bazel-bin/bazel/release/s3proxy_tag.txt) | tee -a "$GITHUB_OUTPUT"
bazel build //bazel/release:s3proxy_tag.txt
tagpath=$(bazel cquery --output=files //bazel/release:s3proxy_tag.txt)
echo s3proxyImage=$(cat "${tagpath}") | tee -a "$GITHUB_OUTPUT"
- name: Setup s3proxy
shell: bash