Skip to content

Commit

Permalink
add bake
Browse files Browse the repository at this point in the history
  • Loading branch information
marsante committed Dec 7, 2024
1 parent aab797f commit 2906287
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions tools/docker/docker_bake.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
group "default" {
targets = ["production", "development"]
}

target "production" {
context = "./"
dockerfile = "Dockerfile"
platforms = ["linux/amd64", "linux/arm64"]
args = {
PHPSTAGE = "production"
VRELEASE = "master"
}
tags = [
"marsante/msehr:master",
"marsante/msehr:latest"
]
}

target "development" {
context = "./"
dockerfile = "Dockerfile"
platforms = ["linux/amd64", "linux/arm64"]
args = {
PHPSTAGE = "development"
VRELEASE = "master"
}
tags = [
"marsante/msehr:dev"
]
}

0 comments on commit 2906287

Please sign in to comment.