Merge pull request #10542 from MarckK/tags

edit examples of docker tags for post processor hcl syntax to be array of strings
pull/10554/head
Megan Marsh 5 years ago committed by GitHub
commit ac014fc1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -267,7 +267,7 @@ of post-processors that are treated as as single pipeline, see
post-processors {
post-processor "docker-import" {
repository = "myrepo/myimage"
tag = "0.7"
tag = ["0.7"]
}
post-processor "docker-push" {}
}
@ -329,7 +329,7 @@ information):
post-processors {
post-processor "docker-tag" {
repository = "myrepo/myimage"
tag = "0.7"
tag = ["0.7"]
}
post-processor "docker-push" {}
}
@ -383,14 +383,14 @@ nearly-identical sequence definitions, as demonstrated by the example below:
post-processors {
post-processor "docker-tag" {
repository = "myrepo/myimage1"
tag = "0.7"
tag = ["0.7"]
}
post-processor "docker-push" {}
}
post-processors {
post-processor "docker-tag" {
repository = "myrepo/myimage2"
tag = "0.7"
tag = ["0.7"]
}
post-processor "docker-push" {}
}
@ -488,7 +488,7 @@ above and example configuration properties are shown below:
post-processors {
post-processor "docker-tag" {
repository = "12345.dkr.ecr.us-east-1.amazonaws.com/packer"
tag = "0.7"
tag = ["0.7"]
}
post-processor "docker-push" {
ecr_login = true

Loading…
Cancel
Save