Skip to content

Post job cleanup takes a long time. #158

@sinwoobang

Description

@sinwoobang

Behaviour

Steps to reproduce this issue

  1. Setup this job generally.
  2. Append a remote builder as discussed on (Feature request: append builder #115). Especially, using this shortcut on the comment.
  3. Build multi-arch images remotely using buildx.
  4. Start your workflow and see how long it takes to be removed at the last.

Expected behaviour

The builder is removed in a couple of seconds, or at most a minute.

Actual behaviour

It took 15 minutes.

Configuration

  • Repository URL (if public): X
  • Build URL (if public): X
- name: Set up Docker Buildx
  id: builder
  uses: docker/setup-buildx-action@v1

- name: Append ARM buildx builder from AWS
  uses: baschny/append-buildx-action@v1
  with:
    builder: ${{ steps.builder.outputs.name }}
    endpoint: ${{ secrets.SSH_ENDPOINT }}
      ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}

Logs

I would like to say sorry that I can't attach the log here due to security reasons. Instead, I put a screenshot. It took 16 minutes.
Screen Shot 2022-09-05 at 12 07 17 AM

Post job cleanup.
Removing builder
  /usr/bin/docker buildx rm builder-e772f6ea-5196-4636-9999-91548ad9ce9f
  builder-e772f6ea-5196-4636-9999-91548ad9ce9f removed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions