Skip to content

Commit

Permalink
Debug: Step output for bakefile contents
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHendrickson committed Nov 16, 2023
1 parent 7ba0b6c commit a2ac6a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,15 @@ jobs:
- name: Set bake file definition as step output
id: bakefile
run: |
BAKFILE_CONTENTS=$(cat ${{ steps.meta.outputs.bake-file }})
echo "1"
BAKFILE_CONTENTS=$(cat $BAKEFILE_PATH)
echo "2"
echo "result<<ENDOFBAKEFILE" >> $GITHUB_OUTPUT
echo "$BAKEFILE_CONTENTS" >> $GITHUB_OUTPUT
echo "ENDOFBAKEFILE" >> $GITHUB_OUTPUT
echo "result=$BAKFILE_CONTENTS" >> $GITHUB_OUTPUT
env:
BAKEFILE_PATH: ${{ steps.meta.outputs.bake-file }}
- name: Build and push Docker image
id: build-push
uses: docker/build-push-action@v3
Expand Down

0 comments on commit a2ac6a3

Please sign in to comment.