Skip to content

Commit 726ea5c

Browse files
committed
refactor(docker,ubuntu): simplify image names for plugins (WasmEdge#4235)
Signed-off-by: Yi Huang <yi@secondstate.io>
1 parent 994a728 commit 726ea5c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docker-bake.ubuntu.hcl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ function "tags-backports" {
7676

7777
function "tags-simplified" {
7878
params = [target, ubuntu, toolchain]
79-
result = target == "base" && toolchain == "clang" ? "ubuntu-${ubuntu}" : ""
79+
result = toolchain == "clang" ? join("-", compact([
80+
"ubuntu",
81+
ubuntu,
82+
target == "plugins" ? "plugins" : "",
83+
])) : ""
8084
}
8185

8286
function "tags" {

0 commit comments

Comments
 (0)