Skip to content

Commit

Permalink
test: added checkout step
Browse files Browse the repository at this point in the history
  • Loading branch information
huniafatima-arbi committed Nov 6, 2024
1 parent db72671 commit 92f2d12
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/push-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ jobs:

- id: set-images-input
run: |
images="${{ github.event.inputs.image_to_build }}"
image_to_build="${{ github.event.inputs.image_to_build }}"
if [[ -n "$image_to_build" ]]; then
images=$(jq -c --arg name "$image_to_build" '[.[] | select(.name == $name)]' images-data.json)
else
images=$(jq -c '.' images-data.json)
fi
echo "images here: ${{images}}"
echo "images_to_build={images}" >> $GITHUB_OUTPUT
echo "${{images}}"
echo "images_to_build=${{images}}" >> ${{GITHUB_OUTPUT}}
push:
runs-on: ubuntu-22.04
continue-on-error: true
Expand Down

0 comments on commit 92f2d12

Please sign in to comment.