nektos/act

unable to complete a docker-login

Opened this issue · 0 comments

Bug report info

$ act --bug-report
act version:            0.2.69
GOOS:                   darwin
GOARCH:                 arm64
NumCPU:                 12
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
	$HOME/.docker/run/docker.sock
Config files:
	/Users/jweber/Library/Application Support/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.23.2
	Module path:           command-line-arguments
	Main version:
	Main path:
	Main checksum:
	Build settings:
		-buildmode:           exe
		-compiler:            gc
		-ldflags:             -X main.version=0.2.69
		DefaultGODEBUG:       asynctimerchan=1,gotypesalias=0,httplaxcontentlength=1,httpmuxgo121=1,httpservecontentkeepheaders=1,tls10server=1,tls3des=1,tlskyber=0,tlsrsakex=1,tlsunsafeekm=1,winreadlinkvolume=0,winsymlink=0,x509keypairleaf=0,x509negativeserial=1
		CGO_ENABLED:          1
		CGO_CFLAGS:
		CGO_CPPFLAGS:
		CGO_CXXFLAGS:
		CGO_LDFLAGS:
		GOARCH:               arm64
		GOOS:                 darwin
		GOARM64:              v8.0

Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

docker daemon is fine, not sure what that is about.

Command used with act

act --container-architecture linux/amd64 -P deploy=catthehacker/ubuntu:act-latest --github-instance github.myenterpriseserver.com --replace-ghe-action-with-github-com=aws-actions/aws-secretsmanager-get-secrets --replace-ghe-action-with-github-com=actions/create-github-app-token --replace-ghe-action-with-github-com=docker/login-action --replace-ghe-action-with-github-com=docker/build-push-action --replace-ghe-action-with-github-com=actions/create-release --replace-ghe-action-with-github-com=cheelim1/argocd-actions --replace-ghe-action-with-github-com=aquasecurity/trivy-action --replace-ghe-action-with-github-com=goodwithtech/dockle-action --replace-ghe-action-with-github-com=docker/setup-buildx-action --env AWS_REGION=my-aws-region-1 --env-file <(aws --profile=myawsprofile configure export-credentials --format env) --secret GITHUB_TOKEN=${GH_ENTERPRISE_TOKEN} -a jurgenweber --privileged


### Describe issue

I am using docker/login-action;

 It fails to login, I can login manually, no problems;
 

### Link to GitHub repository

_No response_

### Workflow content

```yml
- name: Login to github registry
        uses: docker/login-action@v3
        with:
          registry: containers.github.myenterpriseserver.com
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}

Relevant log output

[build/release]   💬  ::debug::Exec.getExecOutput: docker login --password-stdin --username jurgenweber containers.github.myenterpriseserver.com
[build/release]   ❌  Failure - Main Login to github registry
[build/release] exitcode '139': failure

Additional information

I did try upping the CPU and mem I allocate to rancher desktop for its VM, this did not help.
I did try to ssh into the VM, I Couldn't get in.. but I was able to find logs from rancher-desktop but found nothing interesting