wordpress/build/docker-bake.hcl

238 lines
6.9 KiB
HCL
Raw Normal View History

2021-09-25 03:19:05 +02:00
group "default" {
2023-04-02 20:32:47 +02:00
targets = ["5_9_0", "5_9_1", "5_9_2", "5_9_3", "6_0_0", "6_0_1", "6_0_2", "6_0_3", "6_1_0", "6_1_1", "6_2_0"]
2021-09-25 03:19:05 +02:00
}
target "build-dockerfile" {
dockerfile = "Dockerfile"
}
target "build-platforms" {
platforms = ["linux/amd64", "linux/armhf", "linux/aarch64"]
2021-09-25 03:19:05 +02:00
}
target "build-common" {
pull = true
}
target "5_9_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
2023-04-06 21:32:28 +02:00
cache-from = [
"type=gha,scope=5_9_0_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("5.9.0-${BAKE_LOCAL_PLATFORM}")}"
]
cache-to = [
"type=gha,mode=max,scope=5_9_0_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("5.9.0-${BAKE_LOCAL_PLATFORM}")}"
]
tags = ["docker.io/nlss/wordpress:5.9.0", "ghcr.io/n0rthernl1ghts/wordpress:5.9.0"]
2022-02-03 19:50:56 +01:00
args = {
WP_VERSION = "5.9.0"
}
}
2022-03-22 19:19:48 +01:00
target "5_9_1" {
2023-04-06 21:32:28 +02:00
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = [
"type=gha,scope=5_9_1_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("5.9.1-${BAKE_LOCAL_PLATFORM}")}"
]
cache-to = [
"type=gha,mode=max,scope=5_9_1_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("5.9.1-${BAKE_LOCAL_PLATFORM}")}"
]
tags = ["docker.io/nlss/wordpress:5.9.1", "ghcr.io/n0rthernl1ghts/wordpress:5.9.1"]
2022-03-22 19:19:48 +01:00
args = {
WP_VERSION = "5.9.1"
}
2022-03-22 19:25:03 +01:00
}
target "5_9_2" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
2023-04-06 21:32:28 +02:00
cache-from = [
"type=gha,scope=5_9_2_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("5.9.2-${BAKE_LOCAL_PLATFORM}")}"
]
cache-to = [
"type=gha,mode=max,scope=5_9_2_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("5.9.2-${BAKE_LOCAL_PLATFORM}")}"
]
tags = ["docker.io/nlss/wordpress:5.9.2", "ghcr.io/n0rthernl1ghts/wordpress:5.9.2"]
2022-03-22 19:25:03 +01:00
args = {
WP_VERSION = "5.9.2"
}
2022-05-25 19:21:09 +02:00
}
target "5_9_3" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = [
"type=gha,scope=5_9_3_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("5.9.3-${BAKE_LOCAL_PLATFORM}")}"
]
cache-to = [
"type=gha,mode=max,scope=5_9_3_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("5.9.3-${BAKE_LOCAL_PLATFORM}")}"
]
2023-04-06 21:32:28 +02:00
2023-04-06 08:40:00 +02:00
tags = [
"docker.io/nlss/wordpress:5", "docker.io/nlss/wordpress:5.9", "docker.io/nlss/wordpress:5.9.3",
"ghcr.io/n0rthernl1ghts/wordpress:5", "ghcr.io/n0rthernl1ghts/wordpress:5.9",
"ghcr.io/n0rthernl1ghts/wordpress:5.9.3"
]
2023-04-06 21:32:28 +02:00
2022-05-25 19:21:09 +02:00
args = {
WP_VERSION = "5.9.3"
}
2022-07-25 23:38:43 +02:00
}
target "6_0_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = [
"type=gha,scope=6_0_0_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("6.0.0-${BAKE_LOCAL_PLATFORM}")}"
]
cache-to = [
"type=gha,mode=max,scope=6_0_0_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("6.0.0-${BAKE_LOCAL_PLATFORM}")}"
]
tags = ["docker.io/nlss/wordpress:6.0.0", "ghcr.io/n0rthernl1ghts/wordpress:6.0.0"]
2022-07-25 23:38:43 +02:00
args = {
WP_VERSION = "6.0.0"
}
2022-07-25 23:42:46 +02:00
}
target "6_0_1" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
2023-04-06 21:32:28 +02:00
cache-from = [
"type=gha,scope=6_0_1_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("6.0.1-${BAKE_LOCAL_PLATFORM}")}"
]
cache-to = [
"type=gha,mode=max,scope=6_0_1_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("6.0.1-${BAKE_LOCAL_PLATFORM}")}"
]
tags = ["docker.io/nlss/wordpress:6.0.1", "ghcr.io/n0rthernl1ghts/wordpress:6.0.1"]
2022-07-25 23:42:46 +02:00
args = {
WP_VERSION = "6.0.1"
}
2022-09-10 03:39:04 +02:00
}
target "6_0_2" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = [
"type=gha,scope=6_0_2_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("6.0.2-${BAKE_LOCAL_PLATFORM}")}"
]
cache-to = [
"type=gha,mode=max,scope=6_0_2_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("6.0.2-${BAKE_LOCAL_PLATFORM}")}"
]
2023-04-06 21:32:28 +02:00
tags = ["docker.io/nlss/wordpress:6.0.2", "ghcr.io/n0rthernl1ghts/wordpress:6.0.2"]
2022-09-10 03:39:04 +02:00
args = {
WP_VERSION = "6.0.2"
}
2022-11-02 21:33:34 +01:00
}
target "6_0_3" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = [
"type=gha,scope=6_0_3_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("6.0.3-${BAKE_LOCAL_PLATFORM}")}"
]
2023-04-06 21:32:28 +02:00
cache-to = [
"type=gha,mode=max,scope=6_0_3_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("6.0.3-${BAKE_LOCAL_PLATFORM}")}"
]
tags = ["docker.io/nlss/wordpress:6.0.3", "ghcr.io/n0rthernl1ghts/wordpress:6.0.3"]
2022-11-02 21:33:34 +01:00
args = {
WP_VERSION = "6.0.3"
}
2022-11-02 21:37:13 +01:00
}
target "6_1_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
2023-04-06 21:32:28 +02:00
cache-from = [
"type=gha,scope=6_1_0_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("6.1.0-${BAKE_LOCAL_PLATFORM}")}"
]
cache-to = [
"type=gha,mode=max,scope=6_1_0_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("6.1.0-${BAKE_LOCAL_PLATFORM}")}"
]
tags = ["docker.io/nlss/wordpress:6.1.0", "ghcr.io/n0rthernl1ghts/wordpress:6.1.0"]
2022-11-02 21:37:13 +01:00
args = {
WP_VERSION = "6.1.0"
}
2023-01-19 23:48:13 +01:00
}
target "6_1_1" {
2023-04-06 21:32:28 +02:00
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = [
"type=gha,scope=6_1_1_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("6.1.1-${BAKE_LOCAL_PLATFORM}")}"
]
cache-to = [
"type=gha,mode=max,scope=6_1_1_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("6.1.1-${BAKE_LOCAL_PLATFORM}")}"
]
2023-04-06 21:32:28 +02:00
2023-04-06 08:40:00 +02:00
tags = [
"docker.io/nlss/wordpress:6.1", "docker.io/nlss/wordpress:6.1.1", "ghcr.io/n0rthernl1ghts/wordpress:6.1",
"ghcr.io/n0rthernl1ghts/wordpress:6.1.1"
]
2023-04-06 21:32:28 +02:00
2023-01-19 23:48:13 +01:00
args = {
WP_VERSION = "6.1.1"
}
2023-04-02 20:32:47 +02:00
}
target "6_2_0" {
inherits = ["build-dockerfile", "build-platforms", "build-common"]
cache-from = [
"type=gha,scope=6_2_0_${BAKE_LOCAL_PLATFORM}",
"type=registry,ref=docker.io/nlss/wordpress-cache:${md5("6.2.0-${BAKE_LOCAL_PLATFORM}")}"
]
cache-to = [
"type=gha,mode=max,scope=6_2_0_${BAKE_LOCAL_PLATFORM}",
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${md5("6.2.0-${BAKE_LOCAL_PLATFORM}")}"
]
2023-04-06 21:32:28 +02:00
2023-04-06 08:40:00 +02:00
tags = [
"docker.io/nlss/wordpress:6", "docker.io/nlss/wordpress:6.2", "docker.io/nlss/wordpress:6.2.0",
"docker.io/nlss/wordpress:latest", "ghcr.io/n0rthernl1ghts/wordpress:6", "ghcr.io/n0rthernl1ghts/wordpress:6.2",
"ghcr.io/n0rthernl1ghts/wordpress:6.2.0", "ghcr.io/n0rthernl1ghts/wordpress:latest"
]
2023-04-06 21:32:28 +02:00
2023-04-02 20:32:47 +02:00
args = {
WP_VERSION = "6.2.0"
}
2022-03-22 19:19:48 +01:00
}