mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-24 07:45:02 +01:00
fix: step container workdir and mounts (#93)
* fix: step container workdir and mounts * avoid perm issues and do not mount tool_cache
This commit is contained in:
18
pkg/runner/testdata/docker-action-host-env/action/entrypoint.sh
vendored
Normal file
18
pkg/runner/testdata/docker-action-host-env/action/entrypoint.sh
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user