mirror of
https://github.com/docker/bake-action.git
synced 2025-12-06 07:48:26 +08:00
ci: group job
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
7
test/group/Dockerfile
Normal file
7
test/group/Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM busybox AS t1
|
||||
RUN echo "Hello t1"
|
||||
|
||||
FROM busybox AS t2
|
||||
RUN echo "Hello t2"
|
||||
11
test/group/docker-bake.hcl
Normal file
11
test/group/docker-bake.hcl
Normal file
@@ -0,0 +1,11 @@
|
||||
group "default" {
|
||||
targets = ["t1", "t2"]
|
||||
}
|
||||
|
||||
target "t1" {
|
||||
target = "t1"
|
||||
}
|
||||
|
||||
target "t2" {
|
||||
target = "t2"
|
||||
}
|
||||
Reference in New Issue
Block a user