Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Sep 6, 2024
1 parent 68efbe3 commit 7397d72
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,14 @@ runs:
# Add envars to Dockerfile
- name: Add build args and envars
if: steps.build.outputs.triggered == 'true'
env:
dockerfile: ${{ steps.vars.outputs.build_file }}
shell: bash
run: |
echo "BUILDER_IMAGE=ghcr.io/${{ github.repository }}/${{ github.package }}:${{ inputs.target }}" >> $DOCKERFILE
echo "BUILDER_PACKAGE=${{ inputs.package }}" >> $DOCKERFILE
echo "BUILDER_REPO=${{ github.repository }}" >> $DOCKERFILE
echo "BUILDER_TAG=${{ inputs.target }}" >> $DOCKERFILE
echo "BUILDER_IMAGE=ghcr.io/${{ github.repository }}/${{ github.package }}:${{ inputs.tag }}" >> ${{ env.dockerfile }}
echo "BUILDER_PACKAGE=${{ inputs.package }}" >> ${{ env.dockerfile }}
echo "BUILDER_REPO=${{ github.repository }}" >> ${{ env.dockerfile }}
echo "BUILDER_TAG=${{ inputs.tag }}" >> ${{ env.dockerfile }}
- name: Set up Docker Buildx
if: steps.build.outputs.triggered == 'true'
Expand Down

0 comments on commit 7397d72

Please sign in to comment.