[GH-ISSUE #5866] failed to export image: NotFound: content digest sha256:<sha256_hash>: not found #1267

Closed
opened 2026-03-01 21:50:03 +03:00 by kerem · 1 comment
Owner

Originally created by @anuprshetty on GitHub (Jul 3, 2025).
Original GitHub issue: https://github.com/nektos/act/issues/5866

Bug report info

act --bug-report 
                        
act version:            0.2.79
GOOS:                   darwin
GOARCH:                 arm64
NumCPU:                 8
Docker host:            DOCKER_HOST environment variable is not set
Sockets found:
        /var/run/docker.sock
        $HOME/.docker/run/docker.sock
Config files:           
        /Users/anupshetty/.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
                --container-architecture linux/amd64

Build info:
        Go version:            go1.24.4
        Module path:           command-line-arguments
        Main version:          
        Main path:             
        Main checksum:         
        Build settings:
                -buildmode:           exe
                -compiler:            gc
                -ldflags:             -X main.version=0.2.79
                CGO_ENABLED:          1
                CGO_CFLAGS:           
                CGO_CPPFLAGS:         
                CGO_CXXFLAGS:         
                CGO_LDFLAGS:          
                GOARCH:               arm64
                GOOS:                 darwin
                GOARM64:              v8.0
Docker Engine:
        Engine version:        28.2.2
        Engine runtime:        runc
        Cgroup version:        2
        Cgroup driver:         cgroupfs
        Storage driver:        overlayfs
        Registry URI:          https://index.docker.io/v1/
        OS:                    Docker Desktop
        OS type:               linux
        OS version:            
        OS arch:               aarch64
        OS kernel:             6.10.14-linuxkit
        OS CPU:                8
        OS memory:             7937 MB
        Security options:
                name=seccomp,profile=builtin
                name=cgroupns

Command used with act

act --rm --secret-file ./.github/.secrets --verbose

Describe issue

Issue Info

Actual Behaviour

Throws error at step:

  • name: Copy nginx config to remote machine
    uses: appleboy/scp-action@v0.1.7

Error: [App workflow/reverse_proxy_deploy] [DEBUG] failed to export image: NotFound: content digest sha256:4d25022e88fa87b8d414d0213ada75d1828c89cb266fa88b5ef6ccd224231572: not found

NOTE: This step works perfectly fine when i run this workflow using Github Actions in the Github website. But it fails when i use nektos/act tool.

Expected behaviour

Earlier it was working perfectly fine without throwing any error. I was able to copy file from my laptop to remote machine at above step.

No response

Workflow content

name: App workflow

on:
  push:
    branches:
      - main
  workflow_dispatch:

jobs:
  reverse_proxy_deploy:
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: reverse_proxy

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Cleanup old build artifacts on remote machine
        uses: appleboy/ssh-action@v0.1.7
        with:
          host: ${{ secrets.REMOTE_HOST }}
          username: ${{ secrets.REMOTE_USER }}
          password: ${{ secrets.REMOTE_PASSWORD }}
          port: 22
          script: |
            cd ${{ secrets.REMOTE_WORKING_DIR }}
            rm -rf reverse_proxy

      - name: Copy nginx config to remote machine
        uses: appleboy/scp-action@v0.1.7
        with:
          host: ${{ secrets.REMOTE_HOST }}
          username: ${{ secrets.REMOTE_USER }}
          password: ${{ secrets.REMOTE_PASSWORD }}
          port: 22
          source: reverse_proxy/nginx.conf
          target: ${{ secrets.REMOTE_WORKING_DIR }}

Relevant log output

[App workflow/reverse_proxy_deploy]   🐳  docker build -t act-appleboy-scp-action-v0-1-7-dockeraction:latest --platform linux/amd64 /Users/anupshetty/.cache/act/appleboy-scp-action@v0.1.7
[App workflow/reverse_proxy_deploy] [DEBUG] Building image from '/Users/anupshetty/.cache/act/appleboy-scp-action@v0.1.7'
[App workflow/reverse_proxy_deploy] [DEBUG] Creating archive for build context dir '/Users/anupshetty/.cache/act/appleboy-scp-action@v0.1.7' with relative dockerfile 'Dockerfile'
[App workflow/reverse_proxy_deploy] [DEBUG] Creating image from context dir '/Users/anupshetty/.cache/act/appleboy-scp-action@v0.1.7' with tag 'act-appleboy-scp-action-v0-1-7-dockeraction:latest' and platform 'linux/amd64'
[App workflow/reverse_proxy_deploy] [DEBUG] Step 1/3 : FROM ghcr.io/appleboy/drone-scp:1.6.14
[App workflow/reverse_proxy_deploy] [DEBUG] 
[App workflow/reverse_proxy_deploy] [DEBUG]  ---> 0e0597678b94
[App workflow/reverse_proxy_deploy] [DEBUG] Step 2/3 : COPY entrypoint.sh /bin/entrypoint.sh
[App workflow/reverse_proxy_deploy] [DEBUG] 
[App workflow/reverse_proxy_deploy] [DEBUG] failed to export image: NotFound: content digest sha256:4d25022e88fa87b8d414d0213ada75d1828c89cb266fa88b5ef6ccd224231572: not found
[App workflow/reverse_proxy_deploy]   ❌  Failure - Main Copy nginx config to remote machine [601.6055ms]
[App workflow/reverse_proxy_deploy] failed to export image: NotFound: content digest sha256:4d25022e88fa87b8d414d0213ada75d1828c89cb266fa88b5ef6ccd224231572: not found
[App workflow/reverse_proxy_deploy] [DEBUG] skipping post step for 'Checkout code': no action model available
[App workflow/reverse_proxy_deploy] ⭐ Run Complete job
[App workflow/reverse_proxy_deploy] Cleaning up container for job reverse_proxy_deploy

Additional information

System Info

MacBook Air M2, 2022 (macOS Sequoia v15.5)

Originally created by @anuprshetty on GitHub (Jul 3, 2025). Original GitHub issue: https://github.com/nektos/act/issues/5866 ### Bug report info ```plain text act --bug-report act version: 0.2.79 GOOS: darwin GOARCH: arm64 NumCPU: 8 Docker host: DOCKER_HOST environment variable is not set Sockets found: /var/run/docker.sock $HOME/.docker/run/docker.sock Config files: /Users/anupshetty/.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 --container-architecture linux/amd64 Build info: Go version: go1.24.4 Module path: command-line-arguments Main version: Main path: Main checksum: Build settings: -buildmode: exe -compiler: gc -ldflags: -X main.version=0.2.79 CGO_ENABLED: 1 CGO_CFLAGS: CGO_CPPFLAGS: CGO_CXXFLAGS: CGO_LDFLAGS: GOARCH: arm64 GOOS: darwin GOARM64: v8.0 Docker Engine: Engine version: 28.2.2 Engine runtime: runc Cgroup version: 2 Cgroup driver: cgroupfs Storage driver: overlayfs Registry URI: https://index.docker.io/v1/ OS: Docker Desktop OS type: linux OS version: OS arch: aarch64 OS kernel: 6.10.14-linuxkit OS CPU: 8 OS memory: 7937 MB Security options: name=seccomp,profile=builtin name=cgroupns ``` ### Command used with act ```sh act --rm --secret-file ./.github/.secrets --verbose ``` ### Describe issue # Issue Info ## Actual Behaviour Throws error at step: - name: Copy nginx config to remote machine uses: appleboy/scp-action@v0.1.7 Error: [App workflow/reverse_proxy_deploy] [DEBUG] failed to export image: NotFound: content digest sha256:4d25022e88fa87b8d414d0213ada75d1828c89cb266fa88b5ef6ccd224231572: not found NOTE: This step works perfectly fine when i run this workflow using Github Actions in the Github website. But it fails when i use nektos/act tool. ## Expected behaviour Earlier it was working perfectly fine without throwing any error. I was able to copy file from my laptop to remote machine at above step. ### Link to GitHub repository _No response_ ### Workflow content ```yml name: App workflow on: push: branches: - main workflow_dispatch: jobs: reverse_proxy_deploy: runs-on: ubuntu-latest defaults: run: working-directory: reverse_proxy steps: - name: Checkout code uses: actions/checkout@v2 - name: Cleanup old build artifacts on remote machine uses: appleboy/ssh-action@v0.1.7 with: host: ${{ secrets.REMOTE_HOST }} username: ${{ secrets.REMOTE_USER }} password: ${{ secrets.REMOTE_PASSWORD }} port: 22 script: | cd ${{ secrets.REMOTE_WORKING_DIR }} rm -rf reverse_proxy - name: Copy nginx config to remote machine uses: appleboy/scp-action@v0.1.7 with: host: ${{ secrets.REMOTE_HOST }} username: ${{ secrets.REMOTE_USER }} password: ${{ secrets.REMOTE_PASSWORD }} port: 22 source: reverse_proxy/nginx.conf target: ${{ secrets.REMOTE_WORKING_DIR }} ``` ### Relevant log output ```sh [App workflow/reverse_proxy_deploy] 🐳 docker build -t act-appleboy-scp-action-v0-1-7-dockeraction:latest --platform linux/amd64 /Users/anupshetty/.cache/act/appleboy-scp-action@v0.1.7 [App workflow/reverse_proxy_deploy] [DEBUG] Building image from '/Users/anupshetty/.cache/act/appleboy-scp-action@v0.1.7' [App workflow/reverse_proxy_deploy] [DEBUG] Creating archive for build context dir '/Users/anupshetty/.cache/act/appleboy-scp-action@v0.1.7' with relative dockerfile 'Dockerfile' [App workflow/reverse_proxy_deploy] [DEBUG] Creating image from context dir '/Users/anupshetty/.cache/act/appleboy-scp-action@v0.1.7' with tag 'act-appleboy-scp-action-v0-1-7-dockeraction:latest' and platform 'linux/amd64' [App workflow/reverse_proxy_deploy] [DEBUG] Step 1/3 : FROM ghcr.io/appleboy/drone-scp:1.6.14 [App workflow/reverse_proxy_deploy] [DEBUG] [App workflow/reverse_proxy_deploy] [DEBUG] ---> 0e0597678b94 [App workflow/reverse_proxy_deploy] [DEBUG] Step 2/3 : COPY entrypoint.sh /bin/entrypoint.sh [App workflow/reverse_proxy_deploy] [DEBUG] [App workflow/reverse_proxy_deploy] [DEBUG] failed to export image: NotFound: content digest sha256:4d25022e88fa87b8d414d0213ada75d1828c89cb266fa88b5ef6ccd224231572: not found [App workflow/reverse_proxy_deploy] ❌ Failure - Main Copy nginx config to remote machine [601.6055ms] [App workflow/reverse_proxy_deploy] failed to export image: NotFound: content digest sha256:4d25022e88fa87b8d414d0213ada75d1828c89cb266fa88b5ef6ccd224231572: not found [App workflow/reverse_proxy_deploy] [DEBUG] skipping post step for 'Checkout code': no action model available [App workflow/reverse_proxy_deploy] ⭐ Run Complete job [App workflow/reverse_proxy_deploy] Cleaning up container for job reverse_proxy_deploy ``` ### Additional information # System Info MacBook Air M2, 2022 (macOS Sequoia v15.5)
kerem 2026-03-01 21:50:03 +03:00
  • closed this issue
  • added the
    kind/bug
    label
Author
Owner

@anuprshetty commented on GitHub (Jul 11, 2025):

I used the version [ appleboy/scp-action@v1.0.0 ], this worked for me without any error.

So closing this Github issue.

<!-- gh-comment-id:3060566983 --> @anuprshetty commented on GitHub (Jul 11, 2025): I used the version [ appleboy/scp-action@v1.0.0 ], this worked for me without any error. So closing this Github issue.
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#1267
No description provided.