Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected error with v5.4.0 release #1135

Closed
3 tasks done
javierjulio opened this issue Jun 10, 2024 · 2 comments
Closed
3 tasks done

Unexpected error with v5.4.0 release #1135

javierjulio opened this issue Jun 10, 2024 · 2 comments

Comments

@javierjulio
Copy link

javierjulio commented Jun 10, 2024

Contributing guidelines

I've found a bug, and:

  • The documentation does not mention anything about my problem
  • There are no open or closed issues that are related to my problem

Description

I started encountering errors with docker/build-push-action@v5 today since v5.4.0 was released. Since it was on a minor version the error was unexpected. This is the message I see for the action step failure:

ERROR: docker exporter does not currently support exporting manifest lists
Error: buildx failed with: ERROR: docker exporter does not currently support exporting manifest lists

Downgrading and locking the action to docker/build-push-action@v5.3.0 helps avoid any errors in the short term.

It's likely that I'm doing something wrong with the action setup. I don't understand what the error means with how I'm using the action. I believe the error may be related to this change. Could the error have to do with using a self-hosted runner?

Example action setup:

- uses: actions/checkout@v4
- uses: docker/login-action@v3
  with:
    # ...
- uses: docker/setup-buildx-action@v3
  id: buildx
- uses: docker/build-push-action@v5
  with:
    context: .
    builder: ${{ steps.buildx.outputs.name }}
    build-args: |
      # ...
    provenance: false
    load: true
    tags: example-name:${{ github.sha }}
    cache-from: type=gha,scope=${{ github.workflow }}
    cache-to: type=gha,scope=${{ github.workflow }},mode=max

Expected behaviour

No errors on a minor version (v5.4.0) update.

Actual behaviour

The v5.4.0 action fails to run with an error message as noted in the description. It's likely user error though.

Repository URL

No response

Workflow run URL

No response

YAML workflow

- uses: actions/checkout@v4
- uses: docker/login-action@v3
  with:
    # ...
- uses: docker/setup-buildx-action@v3
  id: buildx
- uses: docker/build-push-action@v5
  with:
    context: .
    builder: ${{ steps.buildx.outputs.name }}
    build-args: |
      # ...
    provenance: false
    load: true
    tags: example-name:${{ github.sha }}
    cache-from: type=gha,scope=${{ github.workflow }}
    cache-to: type=gha,scope=${{ github.workflow }},mode=max

Workflow logs

No response

BuildKit logs

No response

Additional info

No response

@crazy-max
Copy link
Member

crazy-max commented Jun 10, 2024

Thanks for this report! Do you have a link to your repository or full logs?

I can't repro with the following workflow:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v4
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v3
        with:
          buildkitd-flags: --debug
      -
        name: Build and push
        uses: docker/build-push-action@v5
        with:
          context: .
          provenance: false
          load: true
          tags: example-name:${{ github.sha }}

image

@crazy-max
Copy link
Member

Closing this issue since we don't have any feedback but feel free to left a comment if you have more info, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants