From 92f2d122a1eeaf21e5dd11422185f61d3d566f8f Mon Sep 17 00:00:00 2001 From: Hunia Fatima Date: Wed, 6 Nov 2024 22:46:28 +0500 Subject: [PATCH] test: added checkout step --- .github/workflows/push-docker-images.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push-docker-images.yml b/.github/workflows/push-docker-images.yml index 4279f99..8efb573 100644 --- a/.github/workflows/push-docker-images.yml +++ b/.github/workflows/push-docker-images.yml @@ -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