You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently you get an error that says that you can't do --load and --push together. How do you recommend accomplishing both? The reason I need to do this is I need to run docker compose up to do other actions, and I don't believe it will use the buildx cache. It would be good to update the docs with an example. here's my potential workflow ( may tweak it )
job1
buildx builder target
push builder
cache builder
job2
load builder cache
bake, or otherwise build services based on builder
docker-compose up
run tests
push final service images
I may simplify this and not push during the first job
The text was updated successfully, but these errors were encountered:
@xenoterracide You could export the resulted image in job1 like explained in #147 (comment) then in job2 download with actions/download-artifact the artifact, load it through docker load and use it through docker-compose.
You could also only have one job that builds and loads the image in Docker with this action. I will add an example in the README for this case.
currently you get an error that says that you can't do --load and --push together. How do you recommend accomplishing both? The reason I need to do this is I need to run
docker compose up
to do other actions, and I don't believe it will use the buildx cache. It would be good to update the docs with an example. here's my potential workflow ( may tweak it )job1
job2
I may simplify this and not push during the first job
The text was updated successfully, but these errors were encountered: