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
When I'm building 3 different images in parallel and pushing them to Docker Hub, the first one to complete will do a docker logout causing errors in the other 2 pushes.
As I explained in #142 (comment) , the best solution is simply to not do login = true and just handle it on my own, out of band.
So perhaps this may not even be considered a bug as long as the documentation were updated to make it clear that docker login isn't supported for simultaneous docker-push post-processors.
huyz
added a commit
to huyz/packer-plugin-docker
that referenced
this issue
Feb 4, 2023
Overview of the Issue
When I'm building 3 different images in parallel and pushing them to Docker Hub, the first one to complete will do a
docker logout
causing errors in the other 2 pushes.Reproduction Steps
Plugin and Packer version
Packer v1.8.5
Docker plugin v1.0.8
Simplified Packer Buildfile
Operating system and Environment details
Log Fragments and crash.log files
See the 2
denied: requested access to the resource is denied
below:The text was updated successfully, but these errors were encountered: