Skip to content

Commit

Permalink
Artifact + Matrix - 3
Browse files Browse the repository at this point in the history
Still not seeing the env vars echo-ed.
Debugging by printing various log statements.
  • Loading branch information
Mahadik, Mukul Chandrakant authored and Mahadik, Mukul Chandrakant committed May 1, 2024
1 parent 11dd97b commit ed3a505
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/image_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ jobs:
cat tag_file.txt
docker_image_tag=$(cat tag_file.txt)
echo $docker_image_tag
# echo "::set-output name=docker_image_tag::$docker_image_tag" >> "$GITHUB_OUTPUT"
echo "::set-output name=docker_image_tag::$docker_image_tag" >> "$GITHUB_OUTPUT"
- name: Check artifact tag in output
run: echo "${{ steps.get_docker_tag.outputs.docker_image_tag }}"

# - name: Upload Artifact
# uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -115,6 +119,7 @@ jobs:
- name: Print input docker image tag
run: |
echo "Event name: ${{ github.event_name }}"
echo "Tag: ${{ needs.fetch_tag.outputs.docker_image_tag }}"
echo "Latest docker image tag (push): ${{ env.DOCKER_IMAGE_TAG_1 }}"
echo "Latest docker image tag (workflow_dispatch): ${{ env.DOCKER_IMAGE_TAG_2 }}"
Expand Down

0 comments on commit ed3a505

Please sign in to comment.