mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-02-13 06:27:55 +01:00
Use SHA-1 instead of MD5 for cache tags
This commit is contained in:
parent
7e55f47ac6
commit
a6080cbef0
|
@ -16,17 +16,17 @@ target "build-common" {
|
|||
|
||||
target "5_9_0" {
|
||||
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
||||
|
||||
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("5.9.0-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
|
||||
tags = ["docker.io/nlss/wordpress:5.9.0", "ghcr.io/n0rthernl1ghts/wordpress:5.9.0"]
|
||||
args = {
|
||||
WP_VERSION = "5.9.0"
|
||||
|
@ -35,17 +35,17 @@ target "5_9_0" {
|
|||
|
||||
target "5_9_1" {
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("5.9.1-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
|
||||
tags = ["docker.io/nlss/wordpress:5.9.1", "ghcr.io/n0rthernl1ghts/wordpress:5.9.1"]
|
||||
args = {
|
||||
WP_VERSION = "5.9.1"
|
||||
|
@ -54,17 +54,17 @@ target "5_9_1" {
|
|||
|
||||
target "5_9_2" {
|
||||
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
||||
|
||||
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("5.9.2-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
|
||||
tags = ["docker.io/nlss/wordpress:5.9.2", "ghcr.io/n0rthernl1ghts/wordpress:5.9.2"]
|
||||
args = {
|
||||
WP_VERSION = "5.9.2"
|
||||
|
@ -73,15 +73,15 @@ target "5_9_2" {
|
|||
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("5.9.3-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
tags = [
|
||||
|
@ -97,17 +97,17 @@ target "5_9_3" {
|
|||
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("6.0.0-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
|
||||
tags = ["docker.io/nlss/wordpress:6.0.0", "ghcr.io/n0rthernl1ghts/wordpress:6.0.0"]
|
||||
args = {
|
||||
WP_VERSION = "6.0.0"
|
||||
|
@ -116,17 +116,17 @@ target "6_0_0" {
|
|||
|
||||
target "6_0_1" {
|
||||
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
||||
|
||||
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("6.0.1-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
|
||||
tags = ["docker.io/nlss/wordpress:6.0.1", "ghcr.io/n0rthernl1ghts/wordpress:6.0.1"]
|
||||
args = {
|
||||
WP_VERSION = "6.0.1"
|
||||
|
@ -135,17 +135,17 @@ target "6_0_1" {
|
|||
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("6.0.2-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
|
||||
tags = ["docker.io/nlss/wordpress:6.0.2", "ghcr.io/n0rthernl1ghts/wordpress:6.0.2"]
|
||||
args = {
|
||||
WP_VERSION = "6.0.2"
|
||||
|
@ -154,17 +154,17 @@ target "6_0_2" {
|
|||
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("6.0.3-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
|
||||
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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("6.0.3-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
|
||||
tags = ["docker.io/nlss/wordpress:6.0.3", "ghcr.io/n0rthernl1ghts/wordpress:6.0.3"]
|
||||
args = {
|
||||
WP_VERSION = "6.0.3"
|
||||
|
@ -173,17 +173,17 @@ target "6_0_3" {
|
|||
|
||||
target "6_1_0" {
|
||||
inherits = ["build-dockerfile", "build-platforms", "build-common"]
|
||||
|
||||
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("6.1.0-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
|
||||
tags = ["docker.io/nlss/wordpress:6.1.0", "ghcr.io/n0rthernl1ghts/wordpress:6.1.0"]
|
||||
args = {
|
||||
WP_VERSION = "6.1.0"
|
||||
|
@ -195,12 +195,12 @@ target "6_1_1" {
|
|||
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("6.1.1-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
tags = [
|
||||
|
@ -215,15 +215,15 @@ target "6_1_1" {
|
|||
|
||||
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}")}"
|
||||
"type=registry,ref=docker.io/nlss/wordpress-cache:${sha1("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}")}"
|
||||
"type=registry,mode=max,ref=docker.io/nlss/wordpress-cache:${sha1("6.2.0-${BAKE_LOCAL_PLATFORM}")}"
|
||||
]
|
||||
|
||||
tags = [
|
||||
|
|
Loading…
Reference in New Issue
Block a user