Skip to content

Add An Input To Set Docker Buildx versionΒ #57

@warrenbrown

Description

@warrenbrown

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

Ability to provide a buildx version so when setting provenance: false it is not ignored.

Expected Behavior

Expect a buildx version to be set so provenance: false is recognized and multiple format image is not pushed to ecr.

Use Case

This Current version of build-push action pushes muilti platform multi-image/image index types to ecr. Due to AWS Lambda not supporting image index artifact type I need to turn off multi image. When I set provenance: false it is ignored because a buildx version is not provided and no default is set. buildx version states unknown

buildx-error

build-push-issue-report

Describe Ideal Solution

A clear and concise description of what you want to happen. If you don't know, that's okay.
Provide an input that sets the buildx version

Alternatives Considered

Explain what alternative solutions or features you've considered.

I have added steps in the workflow that set buildx version before calling the build push action.

CleanShot 2024-01-04 at 09 16 07

Additional Context

Add any other context or screenshots about the feature request here.

Created an issue on docker build-push github repo: docker/build-push-action#1035

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions