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
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -335,6 +335,10 @@ This option can also be configured on the agent machine using the environment va
335
335
336
336
The name to use when tagging pre-built images. If multiple images are built in the build phase, you must provide an array of image names.
337
337
338
+
### `build-alias` (optional, build only)
339
+
340
+
Other docker-compose services that should be aliased to the main service that was built. This is for when different docker-compose services share the same prebuilt image.
341
+
338
342
### `args` (optional, build only)
339
343
340
344
A list of KEY=VALUE that are passed through as build arguments when image is being built.
"meta-data set docker-compose-plugin-built-image-tag-myservice my.repository/llamas:test-myservice-build-1 : echo set image metadata for myservice" \
100
+
"meta-data set docker-compose-plugin-built-image-tag-myservice-1 my.repository/llamas:test-myservice-build-1 : echo set image metadata for myservice-1" \
101
+
"meta-data set docker-compose-plugin-built-image-tag-myservice-2 my.repository/llamas:test-myservice-build-1 : echo set image metadata for myservice-2"
102
+
103
+
run $PWD/hooks/command
104
+
105
+
assert_success
106
+
assert_output --partial "built myservice"
107
+
assert_output --partial "pushed myservice"
108
+
assert_output --partial "set image metadata for myservice"
109
+
assert_output --partial "set image metadata for myservice-1"
110
+
assert_output --partial "set image metadata for myservice-2"
111
+
unstub docker-compose
112
+
unstub buildkite-agent
113
+
}
114
+
85
115
@test "Build with a repository and push retries" {
0 commit comments