[GH-ISSUE #744] Issue: act failed to build docker image #470

Closed
opened 2026-03-01 21:43:42 +03:00 by kerem · 3 comments
Owner

Originally created by @Kxuan on GitHub (Jun 24, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/744

System information

- Operating System: ArchLinux
- Architecture: x64 (64-bit)
- Docker version: 20.10.7
- `act` version: act version 0.2.23

Expected behaviour

docker image build successfully.

Actual behaviour

act failed to build docker image.

Workflow and/or repository

workflow
on: [push]

jobs:
  hello_world_job:
    runs-on: ubuntu-latest
    name: A job to say hello
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Hello world action step
        id: hello
        uses: ./
Dockerfile
FROM archlinux:latest
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

Steps to reproduce

  1. Install docker
  2. enable userns on docker using this config file:
/etc/docker/daemon.json
{
    "dns": ["192.168.3.2"],
    "data-root":"/data/lib/docker",
    "bip":"192.168.123.1/24",
    "iptables":false,
    "userns-remap": "xuan"
}
  1. run act

act output

act -vvv --userns host
DEBU[0000] Loading environment from /data/work/github-action/aur-release-action/.env
DEBU[0000] Loading secrets from /data/work/github-action/aur-release-action/.secrets
DEBU[0000] Loading workflows from '/data/work/github-action/aur-release-action/.github/workflows'
DEBU[0000] Loading workflows recursively
DEBU[0000] Found workflow 'main.yml' in '/data/work/github-action/aur-release-action/.github/workflows/main.yml'
DEBU[0000] Reading workflow '/data/work/github-action/aur-release-action/.github/workflows/main.yml'
DEBU[0000] Correcting if statements '/data/work/github-action/aur-release-action/.github/workflows/main.yml'
DEBU[0000] Planning event: push
DEBU[0000] Loading slug from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0000] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0000] Loading revision from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0000] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0000] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c'
DEBU[0000] using github ref: refs/heads/main
DEBU[0000] context env => map[ACT:true]
[main.yml/A job to say hello] 🚀  Start image=node:12-buster-slim
DEBU[0000] Loading slug from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0000] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0000] Loading revision from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0000] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0000] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c'
DEBU[0000] using github ref: refs/heads/main
[main.yml/A job to say hello]   🐳  docker pull node:12-buster-slim
DEBU[0000] Image exists? true
[main.yml/A job to say hello] Removed container: 7ff177bde363365c3b28c96acb0c116ca042476a6d8eda3e17feff8a4bb60f78
[main.yml/A job to say hello]   🐳  docker volume rm act-main-yml-A-job-to-say-hello
[main.yml/A job to say hello]   🐳  docker create image=node:12-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[main.yml/A job to say hello] Created container name=act-main-yml-A-job-to-say-hello id=d11819bc590661ae5670fbe96491857183aa08dce27aadb3a2556b09e968521a from image node:12-buster-slim (platform: )
[main.yml/A job to say hello] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp]
[main.yml/A job to say hello]   🐳  docker run image=node:12-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[main.yml/A job to say hello] Starting container: d11819bc590661ae5670fbe96491857183aa08dce27aadb3a2556b09e968521a
[main.yml/A job to say hello] Started container: d11819bc590661ae5670fbe96491857183aa08dce27aadb3a2556b09e968521a
[main.yml/A job to say hello]   🐳  docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root
[main.yml/A job to say hello] Exec command '[mkdir -m 0777 -p /var/run/act]'
[main.yml/A job to say hello]   🐳  docker cp src=/data/work/github-action/aur-release-action/. dst=/data/work/github-action/aur-release-action
[main.yml/A job to say hello]   🐳  docker exec cmd=[mkdir -p /data/work/github-action/aur-release-action] user=
[main.yml/A job to say hello] Exec command '[mkdir -p /data/work/github-action/aur-release-action]'
DEBU[0000] Writing tarball /tmp/act016013028 from /data/work/github-action/aur-release-action/.
DEBU[0000] Stripping prefix:/data/work/github-action/aur-release-action/ src:/data/work/github-action/aur-release-action/.
[main.yml/A job to say hello] Extracting content from '/tmp/act016013028' to '/data/work/github-action/aur-release-action'
DEBU[0001] Writing entry to tarball workflow/event.json len:2
DEBU[0001] Writing entry to tarball workflow/envs.txt len:0
DEBU[0001] Writing entry to tarball workflow/paths.txt len:0
[main.yml/A job to say hello] Extracting content to '/var/run/act/'
DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c'
DEBU[0001] using github ref: refs/heads/main
DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c'
DEBU[0001] using github ref: refs/heads/main
DEBU[0001] context env => map[ACT:true]
DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:A job to say hello GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:Kxuan/aur-release-action GITHUB_REPOSITORY_OWNER:Kxuan GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:7a24582dccf75d8571eb574dcc3efe3d328fac3c GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/data/work/github-action/aur-release-action ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[main.yml/A job to say hello] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:A job to say hello GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:Kxuan/aur-release-action GITHUB_REPOSITORY_OWNER:Kxuan GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:7a24582dccf75d8571eb574dcc3efe3d328fac3c GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/data/work/github-action/aur-release-action ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[main.yml/A job to say hello] ⭐  Run Checkout
DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c'
DEBU[0001] using github ref: refs/heads/main
[main.yml/A job to say hello] Skipping local actions/checkout because workdir was already copied
[main.yml/A job to say hello]   ✅  Success - Checkout
DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c'
DEBU[0001] using github ref: refs/heads/main
DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c'
DEBU[0001] using github ref: refs/heads/main
DEBU[0001] context env => map[ACT:true]
DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c'
DEBU[0001] using github ref: refs/heads/main
DEBU[0001] context env => map[ACT:true]
DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:hello GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:A job to say hello GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:Kxuan/aur-release-action GITHUB_REPOSITORY_OWNER:Kxuan GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:7a24582dccf75d8571eb574dcc3efe3d328fac3c GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/data/work/github-action/aur-release-action INPUT_REPO:RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64 ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[main.yml/A job to say hello] setupEnv => map[ACT:true CI:true GITHUB_ACTION:hello GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:A job to say hello GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:Kxuan/aur-release-action GITHUB_REPOSITORY_OWNER:Kxuan GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:7a24582dccf75d8571eb574dcc3efe3d328fac3c GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/data/work/github-action/aur-release-action INPUT_REPO:RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64 ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[main.yml/A job to say hello] ⭐  Run Hello world action step
DEBU[0001] Read action &{Hello World  Greet someone and record the time map[repo:{The repo to release false } template:{The template of PKGBUILD true PKGBUILD.template}] map[commit:{The pushed commit }] {docker map[]  Dockerfile [] [] []} { }} from '/data/work/github-action/aur-release-action/action.yml'
DEBU[0001] About to run action &{Hello World  Greet someone and record the time map[repo:{The repo to release false } template:{The template of PKGBUILD true PKGBUILD.template}] map[commit:{The pushed commit }] {docker map[]  Dockerfile [] [] []} { }}
DEBU[0001] type=2 actionDir=/data/work/github-action/aur-release-action actionPath= Workdir=/data/work/github-action/aur-release-action ActionCacheDir=/home/xuan/.cache/act actionName=./ containerActionDir=/data/work/github-action/aur-release-action/
DEBU[0001] image 'act-:latest' for architecture '' will be built from context '/data/work/github-action/aur-release-action
DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c'
DEBU[0001] using github ref: refs/heads/main
DEBU[0001] context env => map[ACT:true]
DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git'
DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c
DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c'
DEBU[0001] using github ref: refs/heads/main
DEBU[0001] context env => map[ACT:true]
DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:hello GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:A job to say hello GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:Kxuan/aur-release-action GITHUB_REPOSITORY_OWNER:Kxuan GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:7a24582dccf75d8571eb574dcc3efe3d328fac3c GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/data/work/github-action/aur-release-action INPUT_REPO:RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64 INPUT_TEMPLATE:PKGBUILD.template ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[main.yml/A job to say hello]   🐳  docker build -t act-:latest --platform  /data/work/github-action/aur-release-action
[main.yml/A job to say hello] Building image from '/data/work/github-action/aur-release-action'
DEBU[0001] Creating archive for build context dir '/data/work/github-action/aur-release-action' with relative dockerfile 'Dockerfile'
DEBU[0001] Skipping excluded path: .dockerignore
DEBU[0001] Skipping excluded path: Dockerfile
[main.yml/A job to say hello] Creating image from context dir '/data/work/github-action/aur-release-action' with tag 'act-:latest' and platform ''
DEBU[0001] Skipping excluded path: .dockerignore
DEBU[0001] Skipping excluded path: .git
DEBU[0001] Skipping excluded path: .github
DEBU[0001] Skipping excluded path: .gitignore
DEBU[0001] Skipping excluded path: .idea
DEBU[0001] Skipping excluded path: Dockerfile
DEBU[0001] Skipping excluded path: LICENSE
DEBU[0001] Skipping excluded path: README.md
[main.yml/A job to say hello]   🐳  docker pull act-:latest
ERRO[0001] Can't add file /data/work/github-action/aur-release-action/node_modules/@blakek/deep/dist/index.umd.js.map to tar: io: read/write on closed pipe
ERRO[0001] Can't add file /data/work/github-action/aur-release-action/.dockerignore to tar: io: read/write on closed pipe
ERRO[0001] Can't add file /data/work/github-action/aur-release-action/Dockerfile to tar: io: read/write on closed pipe
ERRO[0001] Can't close tar writer: io: read/write on closed pipe
DEBU[0001] Image exists? false
[main.yml/A job to say hello] pulling image 'docker.io/library/act-:latest' ()
DEBU[0001] invalid reference format
DEBU[0001] invalid reference format
DEBU[0001] invalid reference format
[main.yml/A job to say hello]   ❌  Failure - Hello world action step
DEBU[0001] invalid reference format
Error: invalid reference format
Originally created by @Kxuan on GitHub (Jun 24, 2021). Original GitHub issue: https://github.com/nektos/act/issues/744 ## System information - Operating System: ArchLinux - Architecture: x64 (64-bit) - Docker version: 20.10.7 - `act` version: act version 0.2.23 ## Expected behaviour docker image build successfully. ## Actual behaviour `act` failed to build docker image. ## Workflow and/or repository <details> <summary>workflow</summary> ```yaml on: [push] jobs: hello_world_job: runs-on: ubuntu-latest name: A job to say hello steps: - name: Checkout uses: actions/checkout@v2 - name: Hello world action step id: hello uses: ./ ``` </details> <details> <summary>Dockerfile</summary> ```none FROM archlinux:latest COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] ``` </details> ## Steps to reproduce 1. Install docker 2. enable userns on docker using this config file: <details> <summary>/etc/docker/daemon.json</summary> ```json { "dns": ["192.168.3.2"], "data-root":"/data/lib/docker", "bip":"192.168.123.1/24", "iptables":false, "userns-remap": "xuan" } ``` </details> 3. run act ## `act` output <details> <summary>act -vvv --userns host</summary> ```none DEBU[0000] Loading environment from /data/work/github-action/aur-release-action/.env DEBU[0000] Loading secrets from /data/work/github-action/aur-release-action/.secrets DEBU[0000] Loading workflows from '/data/work/github-action/aur-release-action/.github/workflows' DEBU[0000] Loading workflows recursively DEBU[0000] Found workflow 'main.yml' in '/data/work/github-action/aur-release-action/.github/workflows/main.yml' DEBU[0000] Reading workflow '/data/work/github-action/aur-release-action/.github/workflows/main.yml' DEBU[0000] Correcting if statements '/data/work/github-action/aur-release-action/.github/workflows/main.yml' DEBU[0000] Planning event: push DEBU[0000] Loading slug from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0000] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0000] Loading revision from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0000] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0000] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c' DEBU[0000] using github ref: refs/heads/main DEBU[0000] context env => map[ACT:true] [main.yml/A job to say hello] 🚀 Start image=node:12-buster-slim DEBU[0000] Loading slug from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0000] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0000] Loading revision from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0000] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0000] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c' DEBU[0000] using github ref: refs/heads/main [main.yml/A job to say hello] 🐳 docker pull node:12-buster-slim DEBU[0000] Image exists? true [main.yml/A job to say hello] Removed container: 7ff177bde363365c3b28c96acb0c116ca042476a6d8eda3e17feff8a4bb60f78 [main.yml/A job to say hello] 🐳 docker volume rm act-main-yml-A-job-to-say-hello [main.yml/A job to say hello] 🐳 docker create image=node:12-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [main.yml/A job to say hello] Created container name=act-main-yml-A-job-to-say-hello id=d11819bc590661ae5670fbe96491857183aa08dce27aadb3a2556b09e968521a from image node:12-buster-slim (platform: ) [main.yml/A job to say hello] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_TEMP=/tmp] [main.yml/A job to say hello] 🐳 docker run image=node:12-buster-slim platform= entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [main.yml/A job to say hello] Starting container: d11819bc590661ae5670fbe96491857183aa08dce27aadb3a2556b09e968521a [main.yml/A job to say hello] Started container: d11819bc590661ae5670fbe96491857183aa08dce27aadb3a2556b09e968521a [main.yml/A job to say hello] 🐳 docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root [main.yml/A job to say hello] Exec command '[mkdir -m 0777 -p /var/run/act]' [main.yml/A job to say hello] 🐳 docker cp src=/data/work/github-action/aur-release-action/. dst=/data/work/github-action/aur-release-action [main.yml/A job to say hello] 🐳 docker exec cmd=[mkdir -p /data/work/github-action/aur-release-action] user= [main.yml/A job to say hello] Exec command '[mkdir -p /data/work/github-action/aur-release-action]' DEBU[0000] Writing tarball /tmp/act016013028 from /data/work/github-action/aur-release-action/. DEBU[0000] Stripping prefix:/data/work/github-action/aur-release-action/ src:/data/work/github-action/aur-release-action/. [main.yml/A job to say hello] Extracting content from '/tmp/act016013028' to '/data/work/github-action/aur-release-action' DEBU[0001] Writing entry to tarball workflow/event.json len:2 DEBU[0001] Writing entry to tarball workflow/envs.txt len:0 DEBU[0001] Writing entry to tarball workflow/paths.txt len:0 [main.yml/A job to say hello] Extracting content to '/var/run/act/' DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c' DEBU[0001] using github ref: refs/heads/main DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c' DEBU[0001] using github ref: refs/heads/main DEBU[0001] context env => map[ACT:true] DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:A job to say hello GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:Kxuan/aur-release-action GITHUB_REPOSITORY_OWNER:Kxuan GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:7a24582dccf75d8571eb574dcc3efe3d328fac3c GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/data/work/github-action/aur-release-action ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [main.yml/A job to say hello] setupEnv => map[ACT:true CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:A job to say hello GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:Kxuan/aur-release-action GITHUB_REPOSITORY_OWNER:Kxuan GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:7a24582dccf75d8571eb574dcc3efe3d328fac3c GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/data/work/github-action/aur-release-action ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [main.yml/A job to say hello] ⭐ Run Checkout DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c' DEBU[0001] using github ref: refs/heads/main [main.yml/A job to say hello] Skipping local actions/checkout because workdir was already copied [main.yml/A job to say hello] ✅ Success - Checkout DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c' DEBU[0001] using github ref: refs/heads/main DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c' DEBU[0001] using github ref: refs/heads/main DEBU[0001] context env => map[ACT:true] DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c' DEBU[0001] using github ref: refs/heads/main DEBU[0001] context env => map[ACT:true] DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:hello GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:A job to say hello GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:Kxuan/aur-release-action GITHUB_REPOSITORY_OWNER:Kxuan GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:7a24582dccf75d8571eb574dcc3efe3d328fac3c GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/data/work/github-action/aur-release-action INPUT_REPO:RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64 ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [main.yml/A job to say hello] setupEnv => map[ACT:true CI:true GITHUB_ACTION:hello GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:A job to say hello GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:Kxuan/aur-release-action GITHUB_REPOSITORY_OWNER:Kxuan GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:7a24582dccf75d8571eb574dcc3efe3d328fac3c GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/data/work/github-action/aur-release-action INPUT_REPO:RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64 ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [main.yml/A job to say hello] ⭐ Run Hello world action step DEBU[0001] Read action &{Hello World Greet someone and record the time map[repo:{The repo to release false } template:{The template of PKGBUILD true PKGBUILD.template}] map[commit:{The pushed commit }] {docker map[] Dockerfile [] [] []} { }} from '/data/work/github-action/aur-release-action/action.yml' DEBU[0001] About to run action &{Hello World Greet someone and record the time map[repo:{The repo to release false } template:{The template of PKGBUILD true PKGBUILD.template}] map[commit:{The pushed commit }] {docker map[] Dockerfile [] [] []} { }} DEBU[0001] type=2 actionDir=/data/work/github-action/aur-release-action actionPath= Workdir=/data/work/github-action/aur-release-action ActionCacheDir=/home/xuan/.cache/act actionName=./ containerActionDir=/data/work/github-action/aur-release-action/ DEBU[0001] image 'act-:latest' for architecture '' will be built from context '/data/work/github-action/aur-release-action DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c' DEBU[0001] using github ref: refs/heads/main DEBU[0001] context env => map[ACT:true] DEBU[0001] Loading slug from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] Loading revision from git directory '/data/work/github-action/aur-release-action/.git' DEBU[0001] Found revision: 7a24582dccf75d8571eb574dcc3efe3d328fac3c DEBU[0001] HEAD points to '7a24582dccf75d8571eb574dcc3efe3d328fac3c' DEBU[0001] using github ref: refs/heads/main DEBU[0001] context env => map[ACT:true] DEBU[0001] context env => map[ACT:true CI:true GITHUB_ACTION:hello GITHUB_ACTIONS:true GITHUB_ACTION_REF: GITHUB_ACTION_REPOSITORY: GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_ENV:/var/run/act/workflow/envs.txt GITHUB_EVENT_NAME:push GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:A job to say hello GITHUB_PATH:/var/run/act/workflow/paths.txt GITHUB_REF:refs/heads/main GITHUB_REPOSITORY:Kxuan/aur-release-action GITHUB_REPOSITORY_OWNER:Kxuan GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:7a24582dccf75d8571eb574dcc3efe3d328fac3c GITHUB_TOKEN: GITHUB_WORKFLOW:main.yml GITHUB_WORKSPACE:/data/work/github-action/aur-release-action INPUT_REPO:RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64 INPUT_TEMPLATE:PKGBUILD.template ImageOS:ubuntu20 PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:] [main.yml/A job to say hello] 🐳 docker build -t act-:latest --platform /data/work/github-action/aur-release-action [main.yml/A job to say hello] Building image from '/data/work/github-action/aur-release-action' DEBU[0001] Creating archive for build context dir '/data/work/github-action/aur-release-action' with relative dockerfile 'Dockerfile' DEBU[0001] Skipping excluded path: .dockerignore DEBU[0001] Skipping excluded path: Dockerfile [main.yml/A job to say hello] Creating image from context dir '/data/work/github-action/aur-release-action' with tag 'act-:latest' and platform '' DEBU[0001] Skipping excluded path: .dockerignore DEBU[0001] Skipping excluded path: .git DEBU[0001] Skipping excluded path: .github DEBU[0001] Skipping excluded path: .gitignore DEBU[0001] Skipping excluded path: .idea DEBU[0001] Skipping excluded path: Dockerfile DEBU[0001] Skipping excluded path: LICENSE DEBU[0001] Skipping excluded path: README.md [main.yml/A job to say hello] 🐳 docker pull act-:latest ERRO[0001] Can't add file /data/work/github-action/aur-release-action/node_modules/@blakek/deep/dist/index.umd.js.map to tar: io: read/write on closed pipe ERRO[0001] Can't add file /data/work/github-action/aur-release-action/.dockerignore to tar: io: read/write on closed pipe ERRO[0001] Can't add file /data/work/github-action/aur-release-action/Dockerfile to tar: io: read/write on closed pipe ERRO[0001] Can't close tar writer: io: read/write on closed pipe DEBU[0001] Image exists? false [main.yml/A job to say hello] pulling image 'docker.io/library/act-:latest' () DEBU[0001] invalid reference format DEBU[0001] invalid reference format DEBU[0001] invalid reference format [main.yml/A job to say hello] ❌ Failure - Hello world action step DEBU[0001] invalid reference format Error: invalid reference format ``` </details>
Author
Owner

@Kxuan commented on GitHub (Jun 24, 2021):

Docker works normally if I build image using docker build .

log
Sending build context to Docker daemon  10.08MB
Step 1/3 : FROM archlinux:latest
 ---> 7496f37b2e0f
Step 2/3 : COPY entrypoint.sh /entrypoint.sh
 ---> Using cache
 ---> d04b2c445915
Step 3/3 : ENTRYPOINT ["/entrypoint.sh"]
 ---> Using cache
 ---> f6fd3e73541d
Successfully built f6fd3e73541d
<!-- gh-comment-id:867561129 --> @Kxuan commented on GitHub (Jun 24, 2021): Docker works normally if I build image using `docker build .` <details> <summary>log</summary> ```none Sending build context to Docker daemon 10.08MB Step 1/3 : FROM archlinux:latest ---> 7496f37b2e0f Step 2/3 : COPY entrypoint.sh /entrypoint.sh ---> Using cache ---> d04b2c445915 Step 3/3 : ENTRYPOINT ["/entrypoint.sh"] ---> Using cache ---> f6fd3e73541d Successfully built f6fd3e73541d ``` </details>
Author
Owner

@github-actions[bot] commented on GitHub (Jul 25, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:886125985 --> @github-actions[bot] commented on GitHub (Jul 25, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@BaileyJM02 commented on GitHub (Jul 27, 2021):

Not stale, I am also getting this issue using MacOS M1 and it is making developing a GitHub Action very difficult.

<!-- gh-comment-id:887398339 --> @BaileyJM02 commented on GitHub (Jul 27, 2021): Not stale, I am also getting this issue using MacOS M1 and it is making developing a GitHub Action very difficult.
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#470
No description provided.