[GH-ISSUE #2280] authentication required #1064

Closed
opened 2026-03-01 21:48:38 +03:00 by kerem · 2 comments
Owner

Originally created by @badboy-tian on GitHub (Apr 8, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2280

Bug report info

act version:            0.2.61
GOOS:                   windows
GOARCH:                 amd64
NumCPU:                 24
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        \\.\pipe\docker_engine(broken)
Config files:
        C:\Users\Tian-PC\.actrc:
                -P ubuntu-latest=catthehacker/ubuntu:act-latest
                -P ubuntu-20.04=catthehacker/ubuntu:act-20.04
                -P ubuntu-18.04=catthehacker/ubuntu:act-18.04
                ubuntu-16.04=catthehacker/ubuntu:act-16.04
Build info:
        Go version:            go1.20.14
        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.61 -X main.commit=361b7e9f1abe9081edf594aa35dede4eab972c70 -X main.date=2024-04-01T02:16:33Z -X main.builtBy=goreleaser  
                CGO_ENABLED:          0
                GOARCH:               amd64
                GOOS:                 windows
                GOAMD64:              v1
                vcs:                  git
                vcs.revision:         361b7e9f1abe9081edf594aa35dede4eab972c70
                vcs.time:             2024-04-01T02:16:09Z
                vcs.modified:         false
Docker Engine:
        Engine version:        25.0.3
        Engine runtime:        runc
        Cgroup version:        1
        Cgroup driver:         cgroupfs
        Storage driver:        overlay2
        Registry URI:          https://index.docker.io/v1/
        OS:                    Docker Desktop
        OS type:               linux
        OS version:
        OS arch:               x86_64
        OS kernel:             5.15.146.1-microsoft-standard-WSL2
        OS CPU:                24
        OS memory:             3915 MB
        Security options:
                name=seccomp,profile=unconfined

Command used with act

act -v

Describe issue

ld]   ☁  git clone 'https://github.com/azure/docker-login' # ref=v1
[master/build] [DEBUG]   cloning https://github.com/azure/docker-login to C:\Users\Tian-PC\.cache\act/azure-docker-login@v1
[master/build] Unable to clone https://github.com/azure/docker-login refs/heads/v1: authentication required

No response

Workflow content

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      # docker build,并push
      - name: Docker push
        uses: azure/docker-login@v1
        with:

Relevant log output

ld]   ☁  git clone 'https://github.com/azure/docker-login' # ref=v1
[master/build] [DEBUG]   cloning https://github.com/azure/docker-login to C:\Users\Tian-PC\.cache\act/azure-docker-login@v1
[master/build] Unable to clone https://github.com/azure/docker-login refs/heads/v1: authentication required



### Additional information

_No response_
Originally created by @badboy-tian on GitHub (Apr 8, 2024). Original GitHub issue: https://github.com/nektos/act/issues/2280 ### Bug report info ```plain text act version: 0.2.61 GOOS: windows GOARCH: amd64 NumCPU: 24 Docker host: DOCKER_HOST environment variable is not set Sockets found: \\.\pipe\docker_engine(broken) Config files: C:\Users\Tian-PC\.actrc: -P ubuntu-latest=catthehacker/ubuntu:act-latest -P ubuntu-20.04=catthehacker/ubuntu:act-20.04 -P ubuntu-18.04=catthehacker/ubuntu:act-18.04 ubuntu-16.04=catthehacker/ubuntu:act-16.04 Build info: Go version: go1.20.14 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.61 -X main.commit=361b7e9f1abe9081edf594aa35dede4eab972c70 -X main.date=2024-04-01T02:16:33Z -X main.builtBy=goreleaser CGO_ENABLED: 0 GOARCH: amd64 GOOS: windows GOAMD64: v1 vcs: git vcs.revision: 361b7e9f1abe9081edf594aa35dede4eab972c70 vcs.time: 2024-04-01T02:16:09Z vcs.modified: false Docker Engine: Engine version: 25.0.3 Engine runtime: runc Cgroup version: 1 Cgroup driver: cgroupfs Storage driver: overlay2 Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: x86_64 OS kernel: 5.15.146.1-microsoft-standard-WSL2 OS CPU: 24 OS memory: 3915 MB Security options: name=seccomp,profile=unconfined ``` ### Command used with act ```sh act -v ``` ### Describe issue ``` ld] ☁ git clone 'https://github.com/azure/docker-login' # ref=v1 [master/build] [DEBUG] cloning https://github.com/azure/docker-login to C:\Users\Tian-PC\.cache\act/azure-docker-login@v1 [master/build] Unable to clone https://github.com/azure/docker-login refs/heads/v1: authentication required ``` ### Link to GitHub repository _No response_ ### Workflow content ```yml jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 # docker build,并push - name: Docker push uses: azure/docker-login@v1 with: ``` ### Relevant log output ```sh ld] ☁ git clone 'https://github.com/azure/docker-login' # ref=v1 [master/build] [DEBUG] cloning https://github.com/azure/docker-login to C:\Users\Tian-PC\.cache\act/azure-docker-login@v1 [master/build] Unable to clone https://github.com/azure/docker-login refs/heads/v1: authentication required ``` ``` ### Additional information _No response_
kerem 2026-03-01 21:48:38 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Author
Owner

@badboy-tian commented on GitHub (Apr 8, 2024):

github_token permission problem

<!-- gh-comment-id:2041843154 --> @badboy-tian commented on GitHub (Apr 8, 2024): github_token permission problem
Author
Owner

@sysadmin-exe commented on GitHub (Jul 31, 2024):

@badboy-tian please how did you resolve this with github_token
Do I run this act --env github_token=gho_scdvndvkevlfvwlkvnwfvlfr

<!-- gh-comment-id:2260138320 --> @sysadmin-exe commented on GitHub (Jul 31, 2024): @badboy-tian please how did you resolve this with github_token Do I run this `act --env github_token=gho_scdvndvkevlfvwlkvnwfvlfr`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1064
No description provided.