Skip to content

Commit

Permalink
Document lack of support for parallel docker login.
Browse files Browse the repository at this point in the history
Addresses #141
  • Loading branch information
huyz authored and lbajolet-hashicorp committed Feb 6, 2023
1 parent 02122f2 commit 16d1381
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/post-processors/docker-push.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ this flag is optional if you specify the correct ECR Public URL in the

- `login` (boolean) - Defaults to false. If true, the post-processor will
login prior to pushing. For log into ECR see `ecr_login`.
Note that a corresponding `logout` will be performed right after the push.
This may conflict with other parallel post-processor instances that also
perform login/logout (e.g. if you're building and pushing several images
in parallel).
In that case, it's better to keep `login` set to `false` and have
the `docker login` and `docker logout` performed out of band, separately
from Packer.

- `login_username` (string) - The username to use to authenticate to login.

Expand Down

0 comments on commit 16d1381

Please sign in to comment.