Git Product home page Git Product logo

actions-toolkit's Introduction

The Moby Project

Moby Project logo

Moby is an open-source project created by Docker to enable and accelerate software containerization.

It provides a "Lego set" of toolkit components, the framework for assembling them into custom container-based systems, and a place for all container enthusiasts and professionals to experiment and exchange ideas. Components include container build tools, a container registry, orchestration tools, a runtime and more, and these can be used as building blocks in conjunction with other tools and projects.

Principles

Moby is an open project guided by strong principles, aiming to be modular, flexible and without too strong an opinion on user experience. It is open to the community to help set its direction.

  • Modular: the project includes lots of components that have well-defined functions and APIs that work together.
  • Batteries included but swappable: Moby includes enough components to build fully featured container systems, but its modular architecture ensures that most of the components can be swapped by different implementations.
  • Usable security: Moby provides secure defaults without compromising usability.
  • Developer focused: The APIs are intended to be functional and useful to build powerful tools. They are not necessarily intended as end user tools but as components aimed at developers. Documentation and UX is aimed at developers not end users.

Audience

The Moby Project is intended for engineers, integrators and enthusiasts looking to modify, hack, fix, experiment, invent and build systems based on containers. It is not for people looking for a commercially supported system, but for people who want to work and learn with open source code.

Relationship with Docker

The components and tools in the Moby Project are initially the open source components that Docker and the community have built for the Docker Project. New projects can be added if they fit with the community goals. Docker is committed to using Moby as the upstream for the Docker Product. However, other projects are also encouraged to use Moby as an upstream, and to reuse the components in diverse ways, and all these uses will be treated in the same way. External maintainers and contributors are welcomed.

The Moby project is not intended as a location for support or feature requests for Docker products, but as a place for contributors to work on open source code, fix bugs, and make the code more useful. The releases are supported by the maintainers, community and users, on a best efforts basis only, and are not intended for customers who want enterprise or commercial support; Docker EE is the appropriate product for these use cases.


Legal

Brought to you courtesy of our legal counsel. For more context, please see the NOTICE document in this repo.

Use and transfer of Moby may be subject to certain restrictions by the United States and other governments.

It is your responsibility to ensure that your use and/or transfer does not violate applicable laws.

For more information, please see https://www.bis.doc.gov

Licensing

Moby is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

actions-toolkit's People

Contributors

crazy-max avatar dependabot[bot] avatar elias-lundgren avatar neilime avatar tonistiigi avatar vinicius73 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

actions-toolkit's Issues

buildx: inconsistency between tc.find and tc.cacheFile calls

Hi, we found that when using the setup-buildx action the toolcache would never be used and buildx is always downloaded.

It looks like the find call is done with an explicit arch param that is actually built as {platform}-{arch}

toolPath = tc.find('buildx', fversion, this.platform());

However later when copying to the toolcache there is no override done of the arch param which results in the @actions sdk defaulting to os.arch https://github.com/actions/toolkit/blob/457303960f03375db6f033e214b9f90d79c3fe5c/packages/tool-cache/src/tool-cache.ts#L465

flaky test: docker install on macOS 14 (arm64)

Similar to crazy-max/ghaction-setup-docker#53 (comment), no virt on macOS arm ๐Ÿ˜ข.

https://github.com/docker/actions-toolkit/actions/runs/8828949944/job/24238960153?pr=316#step:6:332

/opt/homebrew/bin/limactl start --name=docker-actions-toolkit --cpus 4 --memory 8
  time="2024-04-25T07:55:11Z" level=warning msg="provisioning scripts should not reference the LIMA_CIDATA variables"
  time="2024-04-25T07:55:11Z" level=info msg="Using the existing instance \"docker-actions-toolkit\""
  time="2024-04-25T07:55:11Z" level=warning msg="provisioning scripts should not reference the LIMA_CIDATA variables"
  time="2024-04-25T07:55:11Z" level=warning msg="provisioning scripts should not reference the LIMA_CIDATA variables"
  time="2024-04-25T07:55:11Z" level=info msg="Starting the instance \"docker-actions-toolkit\" with VM driver \"qemu\""
  time="2024-04-25T07:55:11Z" level=info msg="QEMU binary \"/opt/homebrew/bin/qemu-system-aarch64\" seems properly signed with the \"com.apple.security.hypervisor\" entitlement"
  time="2024-04-25T07:55:11Z" level=warning msg="provisioning scripts should not reference the LIMA_CIDATA variables"
  time="2024-04-25T07:55:11Z" level=info msg="Attempting to download the image" arch=aarch64 digest= location="https://cloud.debian.org/images/cloud/bookworm/20231013-1532/debian-12-genericcloud-arm64-20231013-1532.qcow2"
  Downloading the image (debian-12-genericcloud-arm64-20231013-1532.qcow2)
  
  92.37 MiB / 247.62 MiB (37.30%) ? p/s
  220.27 MiB / 247.62 MiB (88.95%) 25.58 MiB/s
  247.62 MiB / 247.62 MiB (100.00%) 40.82 MiB/stime="2024-04-25T07:55:24Z" level=info msg="Downloaded the image from \"[https://cloud.debian.org/images/cloud/bookworm/20231013-1532/debian-12-genericcloud-arm64-20231013-1532.qcow2\](https://cloud.debian.org/images/cloud/bookworm/20231013-1532/debian-12-genericcloud-arm64-20231013-1532.qcow2/)""
  time="2024-04-25T07:55:24Z" level=warning msg="[hostagent] provisioning scripts should not reference the LIMA_CIDATA variables"
  time="2024-04-25T07:55:24Z" level=warning msg="[hostagent] provisioning scripts should not reference the LIMA_CIDATA variables"
  time="2024-04-25T07:55:24Z" level=warning msg="[hostagent] provisioning scripts should not reference the LIMA_CIDATA variables"
  time="2024-04-25T07:55:24Z" level=info msg="[hostagent] hostagent socket created at /Users/runner/.lima/docker-actions-toolkit/ha.sock"
  time="2024-04-25T07:55:24Z" level=info msg="[hostagent] Using system firmware (\"/opt/homebrew/share/qemu/edk2-aarch64-code.fd\")"
  time="2024-04-25T07:55:24Z" level=info msg="[hostagent] Starting QEMU (hint: to watch the boot progress, see \"/Users/runner/.lima/docker-actions-toolkit/serial*.log\")"
  time="2024-04-25T07:55:24Z" level=info msg="SSH Local Port: 49215"
  time="2024-04-25T07:55:24Z" level=info msg="[hostagent] Waiting for the essential requirement 1 of 4: \"ssh\""
  time="2024-04-25T07:55:24Z" level=info msg="[hostagent] Driver stopped due to error: \"signal: abort trap\""
  time="2024-04-25T07:55:24Z" level=info msg="[hostagent] Shutting down the host agent"
  time="2024-04-25T07:55:24Z" level=warning msg="[hostagent] failed to exit SSH master" error="failed to execute `ssh -O exit -p 49215 127.0.0.1`, out=\"Control socket connect(/Users/runner/.lima/docker-actions-toolkit/ssh.sock): No such file or directory\\r\\n\": exit status 255"
  time="2024-04-25T07:55:24Z" level=info msg="[hostagent] Shutting down QEMU with ACPI"
  time="2024-04-25T07:55:24Z" level=warning msg="[hostagent] failed to open the QMP socket \"/Users/runner/.lima/docker-actions-toolkit/qmp.sock\", forcibly killing QEMU" error="dial unix /Users/runner/.lima/docker-actions-toolkit/qmp.sock: connect: connection refused"
  time="2024-04-25T07:55:24Z" level=info msg="[hostagent] QEMU has already exited"
  time="2024-04-25T07:55:24Z" level=fatal msg="exiting, status={Running:false Degraded:false Exiting:true Errors:[] SSHLocalPort:0} (hint: see \"/Users/runner/.lima/docker-actions-toolkit/ha.stderr.log\")"
### /Users/runner/.lima/docker-actions-toolkit/ha.stderr.log:
{"level":"warning","msg":"provisioning scripts should not reference the LIMA_CIDATA variables","time":"2024-04-25T07:55:24Z"}
{"level":"warning","msg":"provisioning scripts should not reference the LIMA_CIDATA variables","time":"2024-04-25T07:55:24Z"}
{"level":"warning","msg":"provisioning scripts should not reference the LIMA_CIDATA variables","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"executing [ssh-keygen -t ed25519 -q -N  -f /Users/runner/.lima/_config/user]","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"Creating iso file /Users/runner/.lima/docker-actions-toolkit/cidata.iso","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"Using /var/folders/3m/p59k4qdj0f17st0gn2cmj3640000gn/T/diskfs_iso3971499752 as workspace","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"Failed to detect CPU features. Assuming that AES acceleration is available on this Apple silicon.","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"OpenSSH version 9.6.1 detected","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"AES accelerator seems available, prioritizing [email protected] and [email protected]","time":"2024-04-25T07:55:24Z"}
{"level":"info","msg":"hostagent socket created at /Users/runner/.lima/docker-actions-toolkit/ha.sock","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"Start udp DNS listening on: 127.0.0.1:52205","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"Start tcp DNS listening on: 127.0.0.1:49216","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"QEMU version 8.2.2 detected","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"firmware candidates = [/Users/runner/.local/share/qemu/edk2-aarch64-code.fd /opt/homebrew/share/qemu/edk2-aarch64-code.fd /usr/share/AAVMF/AAVMF_CODE.fd /usr/share/qemu-efi-aarch64/QEMU_EFI.fd]","time":"2024-04-25T07:55:24Z"}
{"level":"info","msg":"Using system firmware (\"/opt/homebrew/share/qemu/edk2-aarch64-code.fd\")","time":"2024-04-25T07:55:24Z"}
{"level":"info","msg":"Starting QEMU (hint: to watch the boot progress, see \"/Users/runner/.lima/docker-actions-toolkit/serial*.log\")","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"qCmd.Args: [/opt/homebrew/bin/qemu-system-aarch64 -m 8192 -cpu host -machine virt,accel=hvf -smp 4,sockets=1,cores=4,threads=1 -drive if=pflash,format=raw,readonly=on,file=/opt/homebrew/share/qemu/edk2-aarch64-code.fd -boot order=c,splash-time=0,menu=on -drive file=/Users/runner/.lima/docker-actions-toolkit/diffdisk,if=virtio,discard=on -drive id=cdrom0,if=none,format=raw,readonly=on,file=/Users/runner/.lima/docker-actions-toolkit/cidata.iso -device virtio-scsi-pci,id=scsi0 -device scsi-cd,bus=scsi0.0,drive=cdrom0 -netdev user,id=net0,net=192.168.5.0/24,dhcpstart=192.168.5.15,hostfwd=tcp:127.0.0.1:49215-:22 -device virtio-net-pci,netdev=net0,mac=52:55:55:35:03:b3 -device virtio-rng-pci -audiodev none,id=default -device ich9-intel-hda -device hda-output,audiodev=default -display none -device virtio-gpu -device virtio-keyboard-pci -device virtio-mouse-pci -device qemu-xhci,id=usb-bus -parallel none -chardev socket,id=char-serial,path=/Users/runner/.lima/docker-actions-toolkit/serial.sock,server=on,wait=off,logfile=/Users/runner/.lima/docker-actions-toolkit/serial.log -serial chardev:char-serial -chardev socket,id=char-serial-pci,path=/Users/runner/.lima/docker-actions-toolkit/serialp.sock,server=on,wait=off,logfile=/Users/runner/.lima/docker-actions-toolkit/serialp.log -device pci-serial,chardev=char-serial-pci -chardev socket,id=char-serial-virtio,path=/Users/runner/.lima/docker-actions-toolkit/serialv.sock,server=on,wait=off,logfile=/Users/runner/.lima/docker-actions-toolkit/serialv.log -device virtio-serial-pci,id=virtio-serial0,max_ports=1 -device virtconsole,chardev=char-serial-virtio,id=console0 -chardev socket,id=char-qmp,path=/Users/runner/.lima/docker-actions-toolkit/qmp.sock,server=on,wait=off -qmp chardev:char-qmp -chardev socket,path=/Users/runner/.lima/docker-actions-toolkit/ga.sock,server=on,wait=off,id=qga0 -device virtio-serial -device virtserialport,chardev=qga0,name=io.lima-vm.guest_agent.0 -name lima-docker-actions-toolkit -pidfile /Users/runner/.lima/docker-actions-toolkit/qemu.pid]","time":"2024-04-25T07:55:24Z"}
{"level":"info","msg":"Waiting for the essential requirement 1 of 4: \"ssh\"","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"executing script \"ssh\"","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"executing ssh for script \"ssh\": /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/runner/.lima/_config/user\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^[email protected],[email protected]\" -o User=runner -o ControlMaster=auto -o ControlPath=\"/Users/runner/.lima/docker-actions-toolkit/ssh.sock\" -o ControlPersist=yes -p 49215 127.0.0.1 -- /bin/bash]","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"stdout=\"\", stderr=\"ssh: connect to host 127.0.0.1 port 49215: Connection refused\\r\\n\", err=failed to execute script \"ssh\": stdout=\"\", stderr=\"ssh: connect to host 127.0.0.1 port 49215: Connection refused\\r\\n\": exit status 255","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"qemu[stderr]: qemu-system-aarch64: Error: HV_UNSUPPORTED","time":"2024-04-25T07:55:24Z"}
{"level":"info","msg":"Driver stopped due to error: \"signal: abort trap\"","time":"2024-04-25T07:55:24Z"}
{"level":"info","msg":"Shutting down the host agent","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"shutting down the SSH master","time":"2024-04-25T07:55:24Z"}
{"level":"debug","msg":"executing ssh for exiting the master: /usr/bin/ssh [ssh -F /dev/null -o IdentityFile=\"/Users/runner/.lima/_config/user\" -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o NoHostAuthenticationForLocalhost=yes -o GSSAPIAuthentication=no -o PreferredAuthentications=publickey -o Compression=no -o BatchMode=yes -o IdentitiesOnly=yes -o Ciphers=\"^[email protected],[email protected]\" -o User=runner -o ControlMaster=auto -o ControlPath=\"/Users/runner/.lima/docker-actions-toolkit/ssh.sock\" -o ControlPersist=yes -O exit -p 49215 127.0.0.1]","time":"2024-04-25T07:55:24Z"}
{"error":"failed to execute `ssh -O exit -p 49215 127.0.0.1`, out=\"Control socket connect(/Users/runner/.lima/docker-actions-toolkit/ssh.sock): No such file or directory\\r\\n\": exit status 255","level":"warning","msg":"failed to exit SSH master","time":"2024-04-25T07:55:24Z"}
{"level":"info","msg":"Shutting down QEMU with ACPI","time":"2024-04-25T07:55:24Z"}
{"error":"dial unix /Users/runner/.lima/docker-actions-toolkit/qmp.sock: connect: connection refused","level":"warning","msg":"failed to open the QMP socket \"/Users/runner/.lima/docker-actions-toolkit/qmp.sock\", forcibly killing QEMU","time":"2024-04-25T07:55:24Z"}
{"level":"info","msg":"QEMU has already exited","time":"2024-04-25T07:55:24Z"}
### /Users/runner/.lima/docker-actions-toolkit/ha.stdout.log:
{"time":"2024-04-25T07:55:24.722092Z","status":{"sshLocalPort":49215}}
{"time":"2024-04-25T07:55:24.779903Z","status":{"exiting":true}}

Running docker actions locally with ACT cannot connect to daemon

Summary

I run act locally to develop and debug GitHub Actions workflows that build and deploy images.

This has worked well in the past but Iโ€™m now encountering an issue with docker actions unable to connect to the docker daemon.

I first encountered this issue with the docker/setup-qemu-action but based on this comment I thought I could work around it by only using the docker/setup-buildx-action and setting the docker endpoint to unix://$HOME/.colima/default/docker.sock (derived from docker context ls) but that didnโ€™t affect a change.

Setup

Apple M1 Mac OS 14.2.1
colima - https://github.com/abiosoft/colima
act - https://github.com/nektos/act

Steps to reproduce

  • set context to Colima
    docker context use colima
  • set DOCKER_HOST
    export DOCKER_HOST="unix://${HOME}/.colima/default/docker.sockโ€
colima version info
โฏ colima version
colima version 0.6.8
git commit: 9b0809d0ed9ad3ff1e57c405f27324e6298ca04f

runtime: docker
arch: aarch64
client: v25.0.2
server: v24.0.9
act version info
โฏ act --bug-report
act version:            0.2.59
GOOS:                   darwin
GOARCH:                 arm64
NumCPU:                 8
Docker host:            unix:///Users/dpc-g/.colima/default/docker.sock
Sockets found:
	$HOME/.colima/docker.sock
Config files:
	/Users/dpc-g/.actrc:
		-P ubuntu-latest=catthehacker/ubuntu:full-latest
		-P ubuntu-latest=catthehacker/ubuntu:full-20.04
		-P ubuntu-18.04=catthehacker/ubuntu:full-18.04
Build info:
	Go version:            go1.21.6
	Module path:           command-line-arguments
	Main version:
	Main path:
	Main checksum:
	Build settings:
		-buildmode:           exe
		-compiler:            gc
		-ldflags:             -X main.version=0.2.59
		DefaultGODEBUG:       panicnil=1
		CGO_ENABLED:          1
		CGO_CFLAGS:
		CGO_CPPFLAGS:
		CGO_CXXFLAGS:
		CGO_LDFLAGS:
		GOARCH:               arm64
		GOOS:                 darwin
Docker Engine:
	Engine version:        24.0.9
	Engine runtime:        runc
	Cgroup version:        2
	Cgroup driver:         cgroupfs
	Storage driver:        overlay2
	Registry URI:          https://index.docker.io/v1/
	OS:                    Ubuntu 23.10
	OS type:               linux
	OS version:            23.10
	OS arch:               aarch64
	OS kernel:             6.5.0-15-generic
	OS CPU:                4
	OS memory:             11937 MB
	Security options:
		name=apparmor
		name=seccomp,profile=builtin
		name=cgroupns
build-image-colima workflow
name: build-images-colima
run-name: Build images locally with Colima and ACT
on:
  pull_request:
    types:
      - closed
      - opened
      - synchronize
  workflow_dispatch:

env:
  REGISTRY: ghcr.io
jobs:
  buildx:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        images: ${{ fromJson(vars.IMAGES) }}
    steps:
      # - name: Set up QEMU
      #   uses: docker/setup-qemu-action@v3

      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v3
        with:
          endpoint: unix:///Users/dpc-g/.colima/default/docker.sock

      - uses: actions/checkout@v3

      - name: Login to registry ${{ env.REGISTRY }}
        uses: docker/[email protected]
        with:
          registry: ${{ env.REGISTRY }}
          username: ${{ secrets.REGISTRY_USER }}
          password: ${{ secrets.REGISTRY_TOKEN }}

      - name: Extract Docker metadata
        id: meta
        uses: docker/[email protected]
        with:
          images: |
            ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}

      - name: Build and push the images
        uses: docker/[email protected]
        with:
          push: true
          files: |
            ${{ steps.meta.outputs.bake-file }}
The act command (verbose output)

act pull_request -W .github/workflows/build-images-colima.yml --secret-file /tmp/sec-file --var IMAGES='["node"]' --container-architecture linux/amd64 -v

act output
โฏ act pull_request -W .github/workflows/build-images-colima.yml --secret-file /tmp/sec-file --var IMAGES='["node"]' --container-architecture linux/amd64 -v
DEBU[0000] Loading environment from /Users/dpc-g/Projects/bay/.env
DEBU[0000] Loading action inputs from /Users/dpc-g/Projects/bay/.input
DEBU[0000] Loading secrets from /tmp/sec-file
DEBU[0000] Loading vars from /Users/dpc-g/Projects/bay/.vars
DEBU[0000] Evaluated matrix inclusions: map[]
DEBU[0000] Loading workflow '/Users/dpc-g/Projects/bay/.github/workflows/build-images-colima.yml'
DEBU[0000] Reading workflow '/Users/dpc-g/Projects/bay/.github/workflows/build-images-colima.yml'
DEBU[0000] Using first passed in arguments event for filtering: pull_request
DEBU[0000] Preparing plan for a event: pull_request
DEBU[0000] Using first passed in arguments event: pull_request
DEBU[0000] Planning jobs for event: pull_request
DEBU[0000] Conditional GET for notices etag=faacf505-0126-427a-bd9a-1316148597a9
DEBU[0000] gc: 2024-02-06 12:59:54.14689 +1100 AEDT m=+0.016085376  module=artifactcache
DEBU[0000] Plan Stages: [0x140000b4f60]
DEBU[0000] Stages Runs: [buildx]
DEBU[0000] Job.Name: buildx
DEBU[0000] Job.RawNeeds: {0 0    <nil> []    0 0}
DEBU[0000] Job.RawRunsOn: {8 0 !!str ubuntu-latest  <nil> []    15 14}
DEBU[0000] Job.Env: {0 0    <nil> []    0 0}
DEBU[0000] Job.If: {0 0  success()  <nil> []    0 0}
DEBU[0000] Job.Steps: Set up Docker Buildx
DEBU[0000] Job.Steps: actions/checkout@v3
DEBU[0000] Job.Steps: Login to registry ${{ env.REGISTRY }}
DEBU[0000] Job.Steps: Extract Docker metadata
DEBU[0000] Job.Steps: Build and push the images
DEBU[0000] Job.TimeoutMinutes:
DEBU[0000] Job.Services: map[]
DEBU[0000] Job.Strategy: &{false 0   {4 0 !!map   <nil> [0x14000360140 0x140003601e0]    18 9}}
DEBU[0000] Job.RawContainer: {0 0    <nil> []    0 0}
DEBU[0000] Job.Defaults.Run.Shell:
DEBU[0000] Job.Defaults.Run.WorkingDirectory:
DEBU[0000] Job.Outputs: map[]
DEBU[0000] Job.Uses:
DEBU[0000] Job.With: map[]
DEBU[0000] Job.Result:
DEBU[0000] Job.Strategy.FailFast: false
DEBU[0000] Job.Strategy.MaxParallel: 0
DEBU[0000] Job.Strategy.FailFastString:
DEBU[0000] Job.Strategy.MaxParallelString:
DEBU[0000] Job.Strategy.RawMatrix: {4 0 !!map   <nil> [0x14000360140 0x140003601e0]    18 9}
DEBU[0000] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
DEBU[0000] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
DEBU[0000] evaluating expression '${{ fromJson(vars.IMAGES) }}'
DEBU[0000] expression '${{ fromJson(vars.IMAGES) }}' evaluated to '[%!t(string=node)]'
DEBU[0000]
DEBU[0000] Job Matrices: [map[images:node]]
DEBU[0000] Runner Matrices: map[]
DEBU[0000] Final matrix after applying user inclusions '[map[images:node]]'
DEBU[0000] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
DEBU[0000] Detected CPUs: 8
[build-images-colima/buildx] [DEBUG] evaluating expression 'success()'
[build-images-colima/buildx] [DEBUG] expression 'success()' evaluated to 'true'
[build-images-colima/buildx] ๐Ÿš€  Start image=catthehacker/ubuntu:full-20.04
INFO[0000] Parallel tasks (0) below minimum, setting to 1
[build-images-colima/buildx]   ๐Ÿณ  docker pull image=catthehacker/ubuntu:full-20.04 platform=linux/amd64 username= forcePull=true
[build-images-colima/buildx] [DEBUG]   ๐Ÿณ  docker pull catthehacker/ubuntu:full-20.04
[build-images-colima/buildx] [DEBUG] pulling image 'docker.io/catthehacker/ubuntu:full-20.04' (linux/amd64)
DEBU[0000] Saving notices etag=faacf505-0126-427a-bd9a-1316148597a9
DEBU[0000] No new notices
[build-images-colima/buildx] [DEBUG] Pulling from catthehacker/ubuntu :: full-20.04
[build-images-colima/buildx] [DEBUG] Digest: sha256:46cbb685671a6bcf254bbbb1311435501cb5badfec1414264412e62484db8d9d ::
[build-images-colima/buildx] [DEBUG] Status: Image is up to date for catthehacker/ubuntu:full-20.04 ::
[build-images-colima/buildx] [DEBUG] Removed container: 8b35c3dc77a18abf07d4ecf58789b5dcdaab23bcc6ced2f2ce67c00b4ef9e1c7
[build-images-colima/buildx] [DEBUG]   ๐Ÿณ  docker volume rm act-build-images-colima-buildx-d23b30e116f06547162bda1334e964e7603e907ebb5ff4708c590bcfd43894f6
[build-images-colima/buildx] [DEBUG]   ๐Ÿณ  docker volume rm act-build-images-colima-buildx-d23b30e116f06547162bda1334e964e7603e907ebb5ff4708c590bcfd43894f6-env
INFO[0003] Parallel tasks (0) below minimum, setting to 1
[build-images-colima/buildx]   ๐Ÿณ  docker create image=catthehacker/ubuntu:full-20.04 platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[build-images-colima/buildx] [DEBUG] Common container.Config ==> &{Hostname: Domainname: User: AttachStdin:false AttachStdout:false AttachStderr:false ExposedPorts:map[] Tty:true OpenStdin:false StdinOnce:false Env:[RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8] Cmd:[] Healthcheck:<nil> ArgsEscaped:false Image:catthehacker/ubuntu:full-20.04 Volumes:map[] WorkingDir:/Users/dpc-g/Projects/bay Entrypoint:[] NetworkDisabled:false MacAddress: OnBuild:[] Labels:map[] StopSignal: StopTimeout:<nil> Shell:[]}
[build-images-colima/buildx] [DEBUG] Common container.HostConfig ==> &{Binds:[/var/run/docker.sock:/var/run/docker.sock] ContainerIDFile: LogConfig:{Type: Config:map[]} NetworkMode:host PortBindings:map[] RestartPolicy:{Name: MaximumRetryCount:0} AutoRemove:false VolumeDriver: VolumesFrom:[] ConsoleSize:[0 0] Annotations:map[] CapAdd:[] CapDrop:[] CgroupnsMode: DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] GroupAdd:[] IpcMode: Cgroup: Links:[] OomScoreAdj:0 PidMode: Privileged:false PublishAllPorts:false ReadonlyRootfs:false SecurityOpt:[] StorageOpt:map[] Tmpfs:map[] UTSMode: UsernsMode: ShmSize:0 Sysctls:map[] Runtime: Isolation: Resources:{CPUShares:0 Memory:0 NanoCPUs:0 CgroupParent: BlkioWeight:0 BlkioWeightDevice:[] BlkioDeviceReadBps:[] BlkioDeviceWriteBps:[] BlkioDeviceReadIOps:[] BlkioDeviceWriteIOps:[] CPUPeriod:0 CPUQuota:0 CPURealtimePeriod:0 CPURealtimeRuntime:0 CpusetCpus: CpusetMems: Devices:[] DeviceCgroupRules:[] DeviceRequests:[] KernelMemory:0 KernelMemoryTCP:0 MemoryReservation:0 MemorySwap:0 MemorySwappiness:<nil> OomKillDisable:<nil> PidsLimit:<nil> Ulimits:[] CPUCount:0 CPUPercent:0 IOMaximumIOps:0 IOMaximumBandwidth:0} Mounts:[{Type:volume Source:act-build-images-colima-buildx-d23b30e116f06547162bda1334e964e7603e907ebb5ff4708c590bcfd43894f6-env Target:/var/run/act ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-build-images-colima-buildx-d23b30e116f06547162bda1334e964e7603e907ebb5ff4708c590bcfd43894f6 Target:/Users/dpc-g/Projects/bay ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>} {Type:volume Source:act-toolcache Target:/opt/hostedtoolcache ReadOnly:false Consistency: BindOptions:<nil> VolumeOptions:<nil> TmpfsOptions:<nil> ClusterOptions:<nil>}] MaskedPaths:[] ReadonlyPaths:[] Init:<nil>}
[build-images-colima/buildx] [DEBUG] input.NetworkAliases ==> [buildx]
[build-images-colima/buildx] [DEBUG] Created container name=act-build-images-colima-buildx-d23b30e116f06547162bda1334e964e7603e907ebb5ff4708c590bcfd43894f6 id=bcbae111d1c5db6075303d800adbee01aa61d79b86080cea69b83232427dda53 from image catthehacker/ubuntu:full-20.04 (platform: linux/amd64)
[build-images-colima/buildx] [DEBUG] ENV ==> [RUNNER_TOOL_CACHE=/opt/hostedtoolcache RUNNER_OS=Linux RUNNER_ARCH=ARM64 RUNNER_TEMP=/tmp LANG=C.UTF-8]
[build-images-colima/buildx]   ๐Ÿณ  docker run image=catthehacker/ubuntu:full-20.04 platform=linux/amd64 entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[build-images-colima/buildx] [DEBUG] Starting container: bcbae111d1c5db6075303d800adbee01aa61d79b86080cea69b83232427dda53
[build-images-colima/buildx] [DEBUG] Started container: bcbae111d1c5db6075303d800adbee01aa61d79b86080cea69b83232427dda53
[build-images-colima/buildx]   ๐Ÿณ  docker exec cmd=[chown -R 1001:127 /Users/dpc-g/Projects/bay] user=0 workdir=
[build-images-colima/buildx] [DEBUG] Exec command '[chown -R 1001:127 /Users/dpc-g/Projects/bay]'
[build-images-colima/buildx] [DEBUG] Working directory '/Users/dpc-g/Projects/bay'
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/event.json len:2
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[build-images-colima/buildx] [DEBUG] Extracting content to '/var/run/act/'
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx]   โ˜  git clone 'https://github.com/docker/setup-buildx-action' # ref=v3
[build-images-colima/buildx] [DEBUG]   cloning https://github.com/docker/setup-buildx-action to /Users/dpc-g/.cache/act/docker-setup-buildx-action@v3
[build-images-colima/buildx] [DEBUG] Unable to pull refs/heads/v3: worktree contains unstaged changes
[build-images-colima/buildx] [DEBUG] Cloned https://github.com/docker/setup-buildx-action to /Users/dpc-g/.cache/act/docker-setup-buildx-action@v3
[build-images-colima/buildx] [DEBUG] Checked out v3
[build-images-colima/buildx] [DEBUG] Read action &{Docker Setup Buildx docker Set up Docker Buildx map[append:{Append additional nodes to the builder false } buildkitd-flags:{Flags for buildkitd daemon false --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host} cleanup:{Cleanup temp files and remove builder at the end of a job false true} config:{BuildKit config file false } config-inline:{Inline BuildKit config false } driver:{Sets the builder driver to be used false docker-container} driver-opts:{List of additional driver-specific options. (eg. image=moby/buildkit:master) false } endpoint:{Optional address for docker socket or context from `docker context ls` false } install:{Sets up docker build command as an alias to docker buildx build false false} platforms:{Fixed platforms for current node. If not empty, values take priority over the detected ones false } use:{Switch to this builder instance false true} version:{Buildx version. (eg. v0.3.0) false }] map[driver:{Builder driver } endpoint:{Builder node endpoint (deprecated, use nodes output instead) } flags:{Builder node flags (deprecated, use nodes output instead) } name:{Builder name } nodes:{Builder nodes metadata } platforms:{Builder node platforms (preferred or available) } status:{Builder node status (deprecated, use nodes output instead) }] {node20 map[] dist/index.js  always() dist/index.js always()   [] []} {blue anchor}} from 'Unknown'
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Skipping local actions/checkout because workdir was already copied
[build-images-colima/buildx] [DEBUG] skip pre step for 'actions/checkout@v3': no action model available
[build-images-colima/buildx] [DEBUG] expression 'Login to registry ${{ env.REGISTRY }}' rewritten to 'format('Login to registry {0}', env.REGISTRY)'
[build-images-colima/buildx] [DEBUG] evaluating expression 'format('Login to registry {0}', env.REGISTRY)'
[build-images-colima/buildx] [DEBUG] expression 'format('Login to registry {0}', env.REGISTRY)' evaluated to '%!t(string=Login to registry ghcr.io)'
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx]   โ˜  git clone 'https://github.com/docker/login-action' # ref=v2.2.0
[build-images-colima/buildx] [DEBUG]   cloning https://github.com/docker/login-action to /Users/dpc-g/.cache/act/[email protected]
[build-images-colima/buildx] [DEBUG] Cloned https://github.com/docker/login-action to /Users/dpc-g/.cache/act/[email protected]
[build-images-colima/buildx] [DEBUG] Checked out v2.2.0
[build-images-colima/buildx] [DEBUG] Read action &{Docker Login docker GitHub Action to login against a Docker registry map[ecr:{Specifies whether the given registry is ECR (auto, true or false) false auto} logout:{Log out from the Docker registry at the end of a job false true} password:{Password or personal access token used to log against the Docker registry false } registry:{Server address of Docker registry. If not set then will default to Docker Hub false } username:{Username used to log against the Docker registry false }] map[] {node16 map[] dist/index.js  always() dist/index.js always()   [] []} {blue anchor}} from 'Unknown'
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx]   โ˜  git clone 'https://github.com/docker/metadata-action' # ref=v4.6.0
[build-images-colima/buildx] [DEBUG]   cloning https://github.com/docker/metadata-action to /Users/dpc-g/.cache/act/[email protected]
[build-images-colima/buildx] [DEBUG] Cloned https://github.com/docker/metadata-action to /Users/dpc-g/.cache/act/[email protected]
[build-images-colima/buildx] [DEBUG] Checked out v4.6.0
[build-images-colima/buildx] [DEBUG] Read action &{Docker Metadata action docker GitHub Action to extract metadata (tags, labels) for Docker map[bake-target:{Bake target name (default docker-metadata-action) false } context:{Where to get context data. Allowed options are "workflow"  (default), "git". true workflow} flavor:{Flavors to apply false } github-token:{GitHub Token as provided by secrets true ${{ github.token }}} images:{List of Docker images to use as base name for tags true } labels:{List of custom labels false } sep-labels:{Separator to use for labels output (default \n) false } sep-tags:{Separator to use for tags output (default \n) false } tags:{List of tags as key-value pair attributes false }] map[bake-file:{Bake definiton file } json:{JSON output of tags and labels } labels:{Generated Docker labels } tags:{Generated Docker tags } version:{Generated Docker image version }] {node16 map[] dist/index.js  always()  always()   [] []} {blue anchor}} from 'Unknown'
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx]   โ˜  git clone 'https://github.com/docker/bake-action' # ref=v3.1.0
[build-images-colima/buildx] [DEBUG]   cloning https://github.com/docker/bake-action to /Users/dpc-g/.cache/act/[email protected]
[build-images-colima/buildx] [DEBUG] Cloned https://github.com/docker/bake-action to /Users/dpc-g/.cache/act/[email protected]
[build-images-colima/buildx] [DEBUG] Checked out v3.1.0
[build-images-colima/buildx] [DEBUG] Read action &{Docker Buildx Bake docker GitHub Action to use Docker Buildx Bake as a high-level build command map[builder:{Builder instance false } files:{List of bake definition files true } load:{Load is a shorthand for --set=*.output=type=docker false false} no-cache:{Do not use cache when building the image false false} provenance:{Provenance is a shorthand for --set=*.attest=type=provenance false } pull:{Always attempt to pull a newer version of the image false false} push:{Push is a shorthand for --set=*.output=type=registry false false} sbom:{SBOM is a shorthand for --set=*.attest=type=sbom false } set:{List of targets values to override (eg. targetpattern.key=value) false } source:{Remote bake definition to build from false } targets:{List of bake targets false } workdir:{Working directory of bake execution false .}] map[metadata:{Build result metadata }] {node16 map[] dist/index.js  always()  always()   [] []} {blue anchor}} from 'Unknown'
[build-images-colima/buildx] ๐Ÿงช  Matrix: map[images:node]
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.117:52193/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:docker/setup-buildx-action GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:buildx GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:dpc-sdp/bay GITHUB_REPOSITORY_OWNER:dpc-sdp GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:65f584fb907fb6db2e9033d1ca877a4075d9573a GITHUB_WORKFLOW:build-images-colima GITHUB_WORKSPACE:/Users/dpc-g/Projects/bay INPUT_ENDPOINT:unix:///Users/dpc-g/.colima/docker.sock ImageOS:ubuntu20 REGISTRY:ghcr.io RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] evaluating expression ''
[build-images-colima/buildx] [DEBUG] expression '' evaluated to 'true'
[build-images-colima/buildx] โญ Run Main Set up Docker Buildx
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[build-images-colima/buildx] [DEBUG] Extracting content to '/var/run/act'
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] About to run action &{Docker Setup Buildx docker Set up Docker Buildx map[append:{Append additional nodes to the builder false } buildkitd-flags:{Flags for buildkitd daemon false --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host} cleanup:{Cleanup temp files and remove builder at the end of a job false true} config:{BuildKit config file false } config-inline:{Inline BuildKit config false } driver:{Sets the builder driver to be used false docker-container} driver-opts:{List of additional driver-specific options. (eg. image=moby/buildkit:master) false } endpoint:{Optional address for docker socket or context from `docker context ls` false } install:{Sets up docker build command as an alias to docker buildx build false false} platforms:{Fixed platforms for current node. If not empty, values take priority over the detected ones false } use:{Switch to this builder instance false true} version:{Buildx version. (eg. v0.3.0) false }] map[driver:{Builder driver } endpoint:{Builder node endpoint (deprecated, use nodes output instead) } flags:{Builder node flags (deprecated, use nodes output instead) } name:{Builder name } nodes:{Builder nodes metadata } platforms:{Builder node platforms (preferred or available) } status:{Builder node status (deprecated, use nodes output instead) }] {node20 map[] dist/index.js  always() dist/index.js always()   [] []} {blue anchor}}
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] type=remote-action actionDir=/Users/dpc-g/.cache/act/docker-setup-buildx-action@v3 actionPath= workdir=/Users/dpc-g/Projects/bay actionCacheDir=/Users/dpc-g/.cache/act actionName=docker-setup-buildx-action@v3 containerActionDir=/var/run/act/actions/docker-setup-buildx-action@v3
[build-images-colima/buildx] [DEBUG] /var/run/act/actions/docker-setup-buildx-action@v3
[build-images-colima/buildx] [DEBUG] Removing /Users/dpc-g/.cache/act/docker-setup-buildx-action@v3/.gitignore before docker cp
[build-images-colima/buildx]   ๐Ÿณ  docker cp src=/Users/dpc-g/.cache/act/docker-setup-buildx-action@v3/ dst=/var/run/act/actions/docker-setup-buildx-action@v3/
[build-images-colima/buildx] [DEBUG] Writing tarball /var/folders/_y/nyyv2lps2xv42_3pllhqpmpc0000gn/T/act1597125752 from /Users/dpc-g/.cache/act/docker-setup-buildx-action@v3/
[build-images-colima/buildx] [DEBUG] Stripping prefix:/Users/dpc-g/.cache/act/docker-setup-buildx-action@v3/ src:/Users/dpc-g/.cache/act/docker-setup-buildx-action@v3/
[build-images-colima/buildx] [DEBUG] Extracting content from '/var/folders/_y/nyyv2lps2xv42_3pllhqpmpc0000gn/T/act1597125752' to '/var/run/act/actions/docker-setup-buildx-action@v3/'
[build-images-colima/buildx]   ๐Ÿณ  docker exec cmd=[chown -R 1001:127 /var/run/act/actions/docker-setup-buildx-action@v3/] user=0 workdir=
[build-images-colima/buildx] [DEBUG] Exec command '[chown -R 1001:127 /var/run/act/actions/docker-setup-buildx-action@v3/]'
[build-images-colima/buildx] [DEBUG] Working directory '/Users/dpc-g/Projects/bay'
[build-images-colima/buildx] [DEBUG] executing remote job container: [node /var/run/act/actions/docker-setup-buildx-action@v3/dist/index.js]
[build-images-colima/buildx]   ๐Ÿณ  docker exec cmd=[node /var/run/act/actions/docker-setup-buildx-action@v3/dist/index.js] user= workdir=
[build-images-colima/buildx] [DEBUG] Exec command '[node /var/run/act/actions/docker-setup-buildx-action@v3/dist/index.js]'
[build-images-colima/buildx] [DEBUG] Working directory '/Users/dpc-g/Projects/bay'
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Docker.isAvailable ok: /usr/bin/docker
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Buildx.isStandalone: false
[build-images-colima/buildx]   โ“  ::group::Docker info
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Exec.exec: docker version
| [command]/usr/bin/docker version
| Client: Docker Engine - Community
|  Version:           24.0.7
|  API version:       1.43
|  Go version:        go1.20.10
|  Git commit:        afdd53b
|  Built:             Thu Oct 26 09:08:01 2023
|  OS/Arch:           linux/amd64
|  Context:           default
| permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied
| The process '/usr/bin/docker' failed with exit code 1
[build-images-colima/buildx]   โ“  ::endgroup::
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Docker.isAvailable ok: /usr/bin/docker
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Buildx.isStandalone: false
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Exec.getExecOutput: docker buildx
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Buildx.isAvailable: true
[build-images-colima/buildx]   โ“  ::group::Buildx version
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Docker.isAvailable ok: /usr/bin/docker
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Buildx.isStandalone: false
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Exec.exec: docker buildx version
| [command]/usr/bin/docker buildx version
| github.com/docker/buildx v0.12.1 30feaa1
[build-images-colima/buildx]   โ“  ::endgroup::
[build-images-colima/buildx]   โ“  ::group::Creating a new builder instance
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Docker.isAvailable ok: /usr/bin/docker
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Buildx.isStandalone: false
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Exec.getExecOutput: docker buildx version
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Buildx.versionSatisfies 0.12.1 statisfies >=0.3.0: true
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Docker.isAvailable ok: /usr/bin/docker
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Buildx.isStandalone: false
| [command]/usr/bin/docker buildx create --name builder-84a01a11-4c0d-40b6-9d20-82b3891d0fcf --driver docker-container --buildkitd-flags --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host --use unix:///Users/dpc-g/.colima/docker.sock
| ERROR: failed to initialize builder builder-84a01a11-4c0d-40b6-9d20-82b3891d0fcf (builder-84a01a11-4c0d-40b6-9d20-82b3891d0fcf0): Cannot connect to the Docker daemon at unix:///Users/dpc-g/.colima/docker.sock. Is the docker daemon running?
[build-images-colima/buildx]   โ“  ::endgroup::
[build-images-colima/buildx]   โ—  ::error::The process '/usr/bin/docker' failed with exit code 1
[build-images-colima/buildx]   โŒ  Failure - Main Set up Docker Buildx
[build-images-colima/buildx]   โš™  ::set-output:: name=builder-84a01a11-4c0d-40b6-9d20-82b3891d0fcf
[build-images-colima/buildx] exitcode '1': failure
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Skipping local actions/checkout because workdir was already copied
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.117:52193/ CI:true GITHUB_ACTION:1 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:actions/checkout GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:buildx GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:dpc-sdp/bay GITHUB_REPOSITORY_OWNER:dpc-sdp GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:65f584fb907fb6db2e9033d1ca877a4075d9573a GITHUB_WORKFLOW:build-images-colima GITHUB_WORKSPACE:/Users/dpc-g/Projects/bay ImageOS:ubuntu20 REGISTRY:ghcr.io RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] evaluating expression ''
[build-images-colima/buildx] [DEBUG] expression '' evaluated to 'false'
[build-images-colima/buildx] [DEBUG] Skipping step 'actions/checkout@v3' due to ''
[build-images-colima/buildx] [DEBUG] expression 'Login to registry ${{ env.REGISTRY }}' rewritten to 'format('Login to registry {0}', env.REGISTRY)'
[build-images-colima/buildx] [DEBUG] evaluating expression 'format('Login to registry {0}', env.REGISTRY)'
[build-images-colima/buildx] [DEBUG] expression 'format('Login to registry {0}', env.REGISTRY)' evaluated to '%!t(string=Login to registry ghcr.io)'
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] expression '${{ secrets.REGISTRY_USER }}' rewritten to 'format('{0}', secrets.REGISTRY_USER)'
[build-images-colima/buildx] [DEBUG] evaluating expression 'format('{0}', secrets.REGISTRY_USER)'
[build-images-colima/buildx] [DEBUG] expression 'format('{0}', secrets.REGISTRY_USER)' evaluated to '%!t(string=)'
[build-images-colima/buildx] [DEBUG] expression '${{ secrets.REGISTRY_TOKEN }}' rewritten to 'format('{0}', secrets.REGISTRY_TOKEN)'
[build-images-colima/buildx] [DEBUG] evaluating expression 'format('{0}', secrets.REGISTRY_TOKEN)'
[build-images-colima/buildx] [DEBUG] expression 'format('{0}', secrets.REGISTRY_TOKEN)' evaluated to '%!t(string=)'
[build-images-colima/buildx] [DEBUG] expression '${{ env.REGISTRY }}' rewritten to 'format('{0}', env.REGISTRY)'
[build-images-colima/buildx] [DEBUG] evaluating expression 'format('{0}', env.REGISTRY)'
[build-images-colima/buildx] [DEBUG] expression 'format('{0}', env.REGISTRY)' evaluated to '%!t(string=ghcr.io)'
[build-images-colima/buildx] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.117:52193/ CI:true GITHUB_ACTION:2 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v2.2.0 GITHUB_ACTION_REPOSITORY:docker/login-action GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:buildx GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:dpc-sdp/bay GITHUB_REPOSITORY_OWNER:dpc-sdp GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:65f584fb907fb6db2e9033d1ca877a4075d9573a GITHUB_WORKFLOW:build-images-colima GITHUB_WORKSPACE:/Users/dpc-g/Projects/bay INPUT_PASSWORD: INPUT_REGISTRY:ghcr.io INPUT_USERNAME: ImageOS:ubuntu20 REGISTRY:ghcr.io RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] evaluating expression ''
[build-images-colima/buildx] [DEBUG] expression '' evaluated to 'false'
[build-images-colima/buildx] [DEBUG] Skipping step 'Login to registry ${{ env.REGISTRY }}' due to ''
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] expression '${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}
' rewritten to 'format('{0}/{1}/{2}
', env.REGISTRY, github.repository, matrix.images)'
[build-images-colima/buildx] [DEBUG] evaluating expression 'format('{0}/{1}/{2}
', env.REGISTRY, github.repository, matrix.images)'
[build-images-colima/buildx] [DEBUG] expression 'format('{0}/{1}/{2}
', env.REGISTRY, github.repository, matrix.images)' evaluated to '%!t(string=ghcr.io/dpc-sdp/bay/node
)'
[build-images-colima/buildx] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.117:52193/ CI:true GITHUB_ACTION:meta GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v4.6.0 GITHUB_ACTION_REPOSITORY:docker/metadata-action GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:buildx GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:dpc-sdp/bay GITHUB_REPOSITORY_OWNER:dpc-sdp GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:65f584fb907fb6db2e9033d1ca877a4075d9573a GITHUB_WORKFLOW:build-images-colima GITHUB_WORKSPACE:/Users/dpc-g/Projects/bay INPUT_IMAGES:ghcr.io/dpc-sdp/bay/node
 ImageOS:ubuntu20 REGISTRY:ghcr.io RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] evaluating expression ''
[build-images-colima/buildx] [DEBUG] expression '' evaluated to 'false'
[build-images-colima/buildx] [DEBUG] Skipping step 'Extract Docker metadata' due to ''
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] expression '${{ steps.meta.outputs.bake-file }}' rewritten to 'format('{0}', steps.meta.outputs.bake-file)'
[build-images-colima/buildx] [DEBUG] evaluating expression 'format('{0}', steps.meta.outputs.bake-file)'
[build-images-colima/buildx] [DEBUG] expression 'format('{0}', steps.meta.outputs.bake-file)' evaluated to '%!t(string=)'
[build-images-colima/buildx] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.117:52193/ CI:true GITHUB_ACTION:4 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3.1.0 GITHUB_ACTION_REPOSITORY:docker/bake-action GITHUB_ACTOR:nektos/act GITHUB_API_URL:https://api.github.com GITHUB_BASE_REF: GITHUB_EVENT_NAME:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:buildx GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:dpc-sdp/bay GITHUB_REPOSITORY_OWNER:dpc-sdp GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:65f584fb907fb6db2e9033d1ca877a4075d9573a GITHUB_WORKFLOW:build-images-colima GITHUB_WORKSPACE:/Users/dpc-g/Projects/bay INPUT_FILES: INPUT_PUSH:true ImageOS:ubuntu20 REGISTRY:ghcr.io RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] evaluating expression ''
[build-images-colima/buildx] [DEBUG] expression '' evaluated to 'false'
[build-images-colima/buildx] [DEBUG] Skipping step 'Build and push the images' due to ''
[build-images-colima/buildx] [DEBUG] skipping post step for 'Build and push the images'; main step was skipped
[build-images-colima/buildx] [DEBUG] skipping post step for 'Extract Docker metadata'; main step was skipped
[build-images-colima/buildx] [DEBUG] expression 'Login to registry ${{ env.REGISTRY }}' rewritten to 'format('Login to registry {0}', env.REGISTRY)'
[build-images-colima/buildx] [DEBUG] evaluating expression 'format('Login to registry {0}', env.REGISTRY)'
[build-images-colima/buildx] [DEBUG] expression 'format('Login to registry {0}', env.REGISTRY)' evaluated to '%!t(string=Login to registry ghcr.io)'
[build-images-colima/buildx] [DEBUG] skipping post step for 'Login to registry ${{ env.REGISTRY }}'; main step was skipped
[build-images-colima/buildx] [DEBUG] skipping post step for 'actions/checkout@v3'; main step was skipped
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] setupEnv => map[ACT:true ACTIONS_CACHE_URL:http://192.168.1.117:52193/ CI:true GITHUB_ACTION:0 GITHUB_ACTIONS:true GITHUB_ACTION_PATH: GITHUB_ACTION_REF:v3 GITHUB_ACTION_REPOSITORY:docker/setup-buildx-action 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:pull_request GITHUB_EVENT_PATH:/var/run/act/workflow/event.json GITHUB_GRAPHQL_URL:https://api.github.com/graphql GITHUB_HEAD_REF: GITHUB_JOB:buildx GITHUB_OUTPUT:/var/run/act/workflow/outputcmd.txt GITHUB_PATH:/var/run/act/workflow/pathcmd.txt GITHUB_REF:refs/pull/%!f(<nil>)/merge GITHUB_REF_NAME:%!f(<nil>)/merge GITHUB_REF_TYPE: GITHUB_REPOSITORY:dpc-sdp/bay GITHUB_REPOSITORY_OWNER:dpc-sdp GITHUB_RETENTION_DAYS:0 GITHUB_RUN_ID:1 GITHUB_RUN_NUMBER:1 GITHUB_SERVER_URL:https://github.com GITHUB_SHA:65f584fb907fb6db2e9033d1ca877a4075d9573a GITHUB_STATE:/var/run/act/workflow/statecmd.txt GITHUB_STEP_SUMMARY:/var/run/act/workflow/SUMMARY.md GITHUB_WORKFLOW:build-images-colima GITHUB_WORKSPACE:/Users/dpc-g/Projects/bay INPUT_APPEND: INPUT_BUILDKITD-FLAGS:--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host INPUT_CLEANUP:true INPUT_CONFIG: INPUT_CONFIG-INLINE: INPUT_DRIVER:docker-container INPUT_DRIVER-OPTS: INPUT_ENDPOINT:unix:///Users/dpc-g/.colima/docker.sock INPUT_INSTALL:false INPUT_PLATFORMS: INPUT_USE:true INPUT_VERSION: ImageOS:ubuntu20 REGISTRY:ghcr.io RUNNER_PERFLOG:/dev/null RUNNER_TRACKING_ID:]
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
[build-images-colima/buildx] [DEBUG] evaluating expression 'always()'
[build-images-colima/buildx] [DEBUG] expression 'always()' evaluated to 'true'
[build-images-colima/buildx] โญ Run Post Set up Docker Buildx
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/outputcmd.txt len:0
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/statecmd.txt len:0
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/pathcmd.txt len:0
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/envs.txt len:0
[build-images-colima/buildx] [DEBUG] Writing entry to tarball workflow/SUMMARY.md len:0
[build-images-colima/buildx] [DEBUG] Extracting content to '/var/run/act'
[build-images-colima/buildx] [DEBUG] run post step for 'Set up Docker Buildx'
[build-images-colima/buildx] [DEBUG] executing remote job container: [node /var/run/act/actions/docker-setup-buildx-action@v3/dist/index.js]
[build-images-colima/buildx]   ๐Ÿณ  docker exec cmd=[node /var/run/act/actions/docker-setup-buildx-action@v3/dist/index.js] user= workdir=
[build-images-colima/buildx] [DEBUG] Exec command '[node /var/run/act/actions/docker-setup-buildx-action@v3/dist/index.js]'
[build-images-colima/buildx] [DEBUG] Working directory '/Users/dpc-g/Projects/bay'
[build-images-colima/buildx]   โ“  ::group::Removing builder
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Buildx.isStandalone: false
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Exec.getExecOutput: docker buildx inspect builder-84a01a11-4c0d-40b6-9d20-82b3891d0fcf
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Builder.exists cmd err: ERROR: no builder "builder-84a01a11-4c0d-40b6-9d20-82b3891d0fcf" found
[build-images-colima/buildx]   ๐Ÿ’ฌ  ::debug::Builder.exists: false
| builder-84a01a11-4c0d-40b6-9d20-82b3891d0fcf does not exist
[build-images-colima/buildx]   โ“  ::endgroup::
[build-images-colima/buildx]   โ“  ::group::Cleaning up certificates
[build-images-colima/buildx]   โ“  ::endgroup::
[build-images-colima/buildx]   โœ…  Success - Post Set up Docker Buildx
[build-images-colima/buildx] ๐Ÿ  Job failed
[build-images-colima/buildx] [DEBUG] Found revision: 65f584fb907fb6db2e9033d1ca877a4075d9573a
Error: Job 'buildx' failed

It looks like the endpoint input for the docker/setup-buildx-action may not be respected.

The docker info group returns

| permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/version": dial unix /var/run/docker.sock: connect: permission denied

and the Creating a new builder instance group fails with

| [command]/usr/bin/docker buildx create --name builder-84a01a11-4c0d-40b6-9d20-82b3891d0fcf --driver docker-container --buildkitd-flags --allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host --use unix:///Users/dpc-g/.colima/docker.sock
| ERROR: failed to initialize builder builder-84a01a11-4c0d-40b6-9d20-82b3891d0fcf (builder-84a01a11-4c0d-40b6-9d20-82b3891d0fcf0): Cannot connect to the Docker daemon at unix:///Users/dpc-g/.colima/docker.sock. Is the docker daemon running?

Thanks for any help you can give me with this.

Feature Request: Docker in WSL2 on Windows

For my use case, I need to run a test suite in Windows OS, but those tests require a Linux container. I can run this on my local machine by using running the container in wsl2, and running the tests separately. Is there already a way to do this through this Git Action, or would this be a new feature?

fatal: ref HEAD is not a symbolic ref

When using Git.context() on a tag an error is returned:

fatal: ref HEAD is not a symbolic ref

This is because it runs

  public static async ref(): Promise<string> {
    return await Git.exec(['symbolic-ref', 'HEAD']);
  }

that is invalid on a tag.

This is causing docker/metadata-action#293

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.