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.
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: trueORoutputs: type=docker,dest=/tmp/myimage.tarmeaning that I have to do one of the following: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.