mirror of
https://github.com/dunglas/frankenphp
synced 2024-10-16 17:14:59 +00:00
30 lines
498 B
HCL
30 lines
498 B
HCL
variable "REPO_NAME" {
|
|
default = "dunglas/frankenphp"
|
|
}
|
|
|
|
group "default" {
|
|
targets = ["bookworm", "alpine"]
|
|
}
|
|
|
|
target "common" {
|
|
platforms = ["linux/amd64", "linux/arm64"]
|
|
}
|
|
|
|
#
|
|
# FrankenPHP
|
|
#
|
|
|
|
target "bookworm" {
|
|
inherits = ["common"]
|
|
context = "."
|
|
dockerfile = "Dockerfile"
|
|
tags = ["${REPO_NAME}:bookworm", "${REPO_NAME}:latest"]
|
|
}
|
|
|
|
target "alpine" {
|
|
inherits = ["common"]
|
|
context = "."
|
|
dockerfile = "Dockerfile.alpine"
|
|
tags = ["${REPO_NAME}:alpine"]
|
|
}
|