Skip to content

Commit

Permalink
Fix api calls for find-latest-ui logic
Browse files Browse the repository at this point in the history
  • Loading branch information
gerrod3 committed Oct 31, 2024
1 parent c31b64e commit 117b44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/build_image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 117b44d

Please sign in to comment.