diff --git a/.github/actions/build_image/action.yml b/.github/actions/build_image/action.yml index d44cf0cb..a8e4676d 100644 --- a/.github/actions/build_image/action.yml +++ b/.github/actions/build_image/action.yml @@ -52,9 +52,12 @@ runs: - name: Find latest ui version if: inputs.latest_ui != 'false' run: | - URL=$(http --verify no --ignore-netrc "https://api.github.com/repos/pulp/pulp-ui/releases/latest" | jq -r '.assets[0].browser_download_url') - echo "Found UI url ${URL}" - echo "BUILD_UI_ARG=--build-arg PULP_UI_URL=${URL}" >> $GITHUB_ENV + echo "Requesting the latest pulp-ui release" + http GET --print Hhb --verify no https://api.github.com/repos/pulp/pulp-ui/releases/latest \ + X-GitHub-Api-Version:2022-11-28 Accept:application/vnd.github+json +# URL=$(http --verify no --ignore-netrc "https://api.github.com/repos/pulp/pulp-ui/releases/latest" | jq -r '.assets[0].browser_download_url') +# echo "Found UI url ${URL}" +# echo "BUILD_UI_ARG=--build-arg PULP_UI_URL=${URL}" >> $GITHUB_ENV shell: bash - name: Build images