Skip to content

Feature Request: Save and Push #727

Closed
docker/buildx
#2302
@deavisdude

Description

@deavisdude

I would like to be able to use this action to build a docker image, and then both save the image locally AND push it to a container registry. I want to be able to perform other actions on the image like a container image scan as a part of my CI workflow. Currently, I am only able to give either push: true OR outputs: type=docker,dest=/tmp/myimage.tar meaning that I have to do one of the following:

  • build the image twice, once with local outputs and once with a push
  • build the image locally and just use another action/job to do the push
  • go and fetch it from the registry I just pushed it to to perform additional actions

Ideally I would just like to use this action to build my image and push it to the container registry, while retaining a local file for use in other jobs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions