mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-20 03:46:09 +08:00
19 lines
334 B
Bash
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
|