From 144361f8c11c1feed9943f4b985627a2ee6480b5 Mon Sep 17 00:00:00 2001 From: Socheat Sok Date: Sat, 5 Oct 2024 14:01:49 +0700 Subject: [PATCH] Update docker-bake.hcl --- docker-bake.hcl | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docker-bake.hcl b/docker-bake.hcl index 73c4ac9..61311f2 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -1,5 +1,15 @@ +target "docker-metadata-action" {} target "default" { - tags = [ - "ghcr.io/socheatsok78-lab/docker-stack-config:main" + inherits = ["docker-metadata-action"] + context = "./" + dockerfile = "Dockerfile" + platforms = [ + "linux/amd64", + "linux/arm64", ] } +target "dev" { + inherits = ["docker-metadata-action"] + context = "./" + dockerfile = "Dockerfile" +}