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
act version: 0.2.63
GOOS: linux
GOARCH: amd64
NumCPU: 6
Docker host: DOCKER_HOST environment variable is not set
Sockets found:
/var/run/docker.sock
Config files:
/home/user/.config/act/actrc:
-P ubuntu-latest=catthehacker/ubuntu:act-latest
-P ubuntu-22.04=catthehacker/ubuntu:act-22.04
-P ubuntu-20.04=catthehacker/ubuntu:act-20.04
-P ubuntu-18.04=catthehacker/ubuntu:act-18.04
Build info:
Go version: go1.21.10
Module path: github.com/nektos/act
Main version: (devel)
Main path: github.com/nektos/act
Main checksum:
Build settings:
-buildmode: exe
-compiler: gc
-ldflags: -s -w -X main.version=0.2.63 -X main.commit=c959fdd58835195916386b44a87632151a1b491a -X main.date=2024-06-01T02:17:39Z -X main.builtBy=goreleaser
CGO_ENABLED: 0
GOARCH: amd64
GOOS: linux
GOAMD64: v1
vcs: git
vcs.revision: c959fdd58835195916386b44a87632151a1b491a
vcs.time: 2024-06-01T02:17:21Z
vcs.modified: false
Docker Engine:
Engine version: 26.1.3
Engine runtime: runc
Cgroup version: 2
Cgroup driver: systemd
Storage driver: overlay2
Registry URI: https://index.docker.io/v1/
OS: Manjaro Linux
OS type: linux
OS version:
OS arch: x86_64
OS kernel: 6.1.92-1-MANJARO
OS CPU: 6
OS memory: 7926 MB
Security options:
name=seccomp,profile=builtin
name=cgroupns
Command used with act
git clone [email protected]:MarkTurney/workflow-testing.git
cd workflow-testing
act
Describe issue
When running a Docker Action from act, the "entrypoint" is run as expected, but the "pre-entrypoint" and "post-entrypoint" fail to run.
I have included a custom Workflow and custom Docker Action that replicate the issue.
I have a sample run on github.com of the workflow that successfully runs the Docker Action's "pre-entrypoint" and "post-entrypoint" as expected.
Below is a screengrab of that same workflow successfully running the Docker Action's "pre-entrypoint" as "Pre test custom docker action" and "post-entrypoint" as "Post test custom docker action".
Below is a screengrab of running act from the terminal that demonstrates that the Docker Action's "pre-entrypoint" and "post-entrypoint" are not run.
Below is a screengrab of the same workflow running in Forgejo using act that also demonstrates that the Docker Action's "pre-entrypoint" and "post-entrypoint" are skipped.
Bug report info
Command used with act
Describe issue
When running a Docker Action from act, the "entrypoint" is run as expected, but the "pre-entrypoint" and "post-entrypoint" fail to run.
I have included a custom Workflow and custom Docker Action that replicate the issue.
I have a sample run on github.com of the workflow that successfully runs the Docker Action's "pre-entrypoint" and "post-entrypoint" as expected.
Below is a screengrab of that same workflow successfully running the Docker Action's "pre-entrypoint" as "Pre test custom docker action" and "post-entrypoint" as "Post test custom docker action".
Below is a screengrab of running act from the terminal that demonstrates that the Docker Action's "pre-entrypoint" and "post-entrypoint" are not run.
Below is a screengrab of the same workflow running in Forgejo using act that also demonstrates that the Docker Action's "pre-entrypoint" and "post-entrypoint" are skipped.
Link to GitHub repository
https://github.com/MarkTurney/docker-action/tree/master
Workflow content
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: