ci: export constellation with absolute path (#2675)

This commit is contained in:
3u13r 2023-12-04 13:18:13 +01:00 committed by GitHub
parent 0e91650631
commit db49093da7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -66,8 +66,8 @@ runs:
out_loc="$(realpath "${repository_root}/${out_rel}")"
cp "${out_loc}" "${OUTPUT_PATH}"
chmod +w "${OUTPUT_PATH}"
echo "$(dirname "${OUTPUT_PATH}")" >> $GITHUB_PATH
export PATH="$PATH:$(dirname "${OUTPUT_PATH}")"
export PATH="$PATH:$(realpath $(dirname "${OUTPUT_PATH}"))"
echo "$(realpath $(dirname "${OUTPUT_PATH}"))" >> $GITHUB_PATH
echo "::endgroup::"
- name: Upload container images

View File

@ -84,7 +84,7 @@ runs:
working-directory: ${{ github.workspace }}/e2e-infra
if: inputs.cloudProvider == 'azure'
run: |
./constellation maa-patch $(terraform output attestationURL | jq -r)
constellation maa-patch $(terraform output attestationURL | jq -r)
- name: Write outputs to state file
shell: bash