Skip to content

Commit

Permalink
TMP: require run command
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinMind committed May 6, 2024
1 parent 0e92cfe commit 3ea3ac5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/run-docker/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ runs:
env:
DOCKER_VERSION: ${{ inputs.version }}
run: |
if [[ -z "${{ inputs.run }}" ]]; then
echo "run input is required"
exit 1
fi
cat <<EOF | docker compose run web sh
${{ inputs.run }}
EOF
Expand Down

0 comments on commit 3ea3ac5

Please sign in to comment.