Skip to content

Commit

Permalink
feat: handle Dockerfiles missing ending newlines (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Dec 5, 2024
1 parent bbdae7a commit ace71f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ runs:
dockerfile: ${{ steps.vars.outputs.build_file }}
shell: bash
run: |
# Add build envars to Dockerfile
# Add build envars to Dockerfile (pad for missing line endings!)
echo "" >> ${{ env.dockerfile }}
echo "ENV BUILDER_IMAGE=ghcr.io/${{ github.repository }}/${{ inputs.package }}:${{ inputs.tag }}" >> ${{ env.dockerfile }}
echo "ENV BUILDER_PACKAGE=${{ inputs.package }}" >> ${{ env.dockerfile }}
echo "ENV BUILDER_REPO=${{ github.repository }}" >> ${{ env.dockerfile }}
Expand Down

0 comments on commit ace71f7

Please sign in to comment.