From 117b44da4c2ed8352d9ed47bad1121a3448e622f Mon Sep 17 00:00:00 2001 From: Gerrod Ubben Date: Thu, 31 Oct 2024 16:27:56 -0400 Subject: [PATCH] Fix api calls for find-latest-ui logic --- .github/actions/build_image/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build_image/action.yml b/.github/actions/build_image/action.yml index b32f553e..d5801b0a 100644 --- a/.github/actions/build_image/action.yml +++ b/.github/actions/build_image/action.yml @@ -52,7 +52,7 @@ runs: - name: Find latest ui version if: inputs.latest_ui != 'false' run: | - URL=$(http "https://api.github.com/repos/pulp/pulp-ui/releases" | jq -r '.assets[0].browser_download_url') + URL=$(http --verify no --auth-type bearer --auth ${{ secrets.GITHUB_TOKEN }} "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