act_runner/pkg/runner/testdata/docker-action-host-env/action/entrypoint.sh

19 lines
334 B
Bash

#!/bin/bash
set -e
# Print a greeting
echo "Hello, $1!"
# Print all environment variables
echo "Environment Variables:"
env
ls -la "$PWD"
ls -la "$PWD/docker-action-host-env"
if [ -f "$PWD/docker-action-host-env/Dockerfile" ]; then
echo "Dockerfile exists in workspace."
else
echo "Dockerfile does not exist in workspace."
fi