Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
gerrod3 committed Nov 1, 2024
1 parent e448494 commit 4bfb1f9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/actions/build_image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4bfb1f9

Please sign in to comment.