You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing a small action that reads a secret and then puts it in a specific file. In doing that, I have to check if a directory exists and create it if it does not. The actions appears to run just fine on github action but it hangs on the directory creation step on act.
I'm using the ubuntu-medium image.
Here's the output:
act --container-architecture linux/amd64 -W .github/workflows/test.yml -j test-with-params --secret-file .env.secrets
[build-test/test-with-params] 🚀 Start image=catthehacker/ubuntu:act-latest
[build-test/test-with-params] 🐳 docker pull image=catthehacker/ubuntu:act-latest platform=linux/amd64 username= forcePull=true
[build-test/test-with-params] 🐳 docker create image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[build-test/test-with-params] 🐳 docker run image=catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[]
[build-test/test-with-params] ⭐ Run Main Checkout
[build-test/test-with-params] 🐳 docker cp src=/Users/aimami/experiments/shuttle-projects/shuttle-login/. dst=/Users/aimami/experiments/shuttle-projects/shuttle-login
[build-test/test-with-params] ✅ Success - Main Checkout
[build-test/test-with-params] ⭐ Run Main Run the current action
[build-test/test-with-params] 🐳 docker exec cmd=[node /Users/aimami/experiments/shuttle-projects/shuttle-login/dist/index.js] user= workdir=
[build-test/test-with-params] 💬 ::debug::Running shuttle-login action
[build-test/test-with-params] 💬 ::debug::Reading shuttle-api-key input
[build-test/test-with-params] 💬 ::debug::Successfully read shuttle-api-key input
[build-test/test-with-params] 💬 ::debug::Checking Operating System
[build-test/test-with-params] 💬 ::debug::Operating System is Linux
[build-test/test-with-params] 💬 ::debug::Placing API key in appropriate location
[build-test/test-with-params] 💬 ::debug::$HOME: /root
[build-test/test-with-params] 💬 ::debug::$XDG_CONFIG_HOME: undefined
[build-test/test-with-params] 💬 ::debug::Setting the appropriate base directory for the config file
[build-test/test-with-params] 💬 ::debug::config_base_dir: /root/.config
[build-test/test-with-params] 💬 ::debug::Creating base directory if it does not exist
[build-test/test-with-params] 💬 ::debug::Creating directory: /root/.config/shuttle
^C[build-test/test-with-params] ❌ Failure - Main Run the current action
[build-test/test-with-params] Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.42/containers/069d9e8822ffe2b315e96dbf0097c11af82194bdff6d154317892deb9b3a1eeb/archive?path=%2Fvar%2Frun%2Fact%2Fworkflow%2Fpathcmd.txt": context canceled
[build-test/test-with-params] 🏁 Job succeeded
Error: context canceled
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am developing a small action that reads a secret and then puts it in a specific file. In doing that, I have to check if a directory exists and create it if it does not. The actions appears to run just fine on github action but it hangs on the directory creation step on act.
I'm using the ubuntu-medium image.
Here's the output:
Beta Was this translation helpful? Give feedback.
All reactions