Skip to content
Snippets Groups Projects
Unverified Commit 7b7a6a60 authored by Michael Kriese's avatar Michael Kriese Committed by GitHub
Browse files

build(docker): disable cache-from and don't allow to fail on release (#34334)

parent f4bf1bf6
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,8 @@
[
"@semantic-release/exec",
{
"prepareCmd": "pnpm release:prepare --version=${nextRelease.version} --sha=${nextRelease.gitHead} --tries=3 --platform=linux/amd64,linux/arm64 --exit-on-error=false",
"publishCmd": "pnpm release:publish --version=${nextRelease.version} --sha=${nextRelease.gitHead} --platform=linux/amd64,linux/arm64 --exit-on-error=false"
"prepareCmd": "pnpm release:prepare --version=${nextRelease.version} --sha=${nextRelease.gitHead} --tries=3 --platform=linux/amd64,linux/arm64 --exit-on-error=true",
"publishCmd": "pnpm release:publish --version=${nextRelease.version} --sha=${nextRelease.gitHead} --platform=linux/amd64,linux/arm64 --exit-on-error=true"
}
]
],
......
......@@ -57,10 +57,10 @@ target "settings" {
}
target "slim" {
cache-from = [
"type=registry,ref=ghcr.io/${OWNER}/${FILE}",
"type=registry,ref=ghcr.io/${OWNER}/docker-build-cache:${FILE}",
]
# cache-from = [
# "type=registry,ref=ghcr.io/${OWNER}/${FILE}",
# "type=registry,ref=ghcr.io/${OWNER}/docker-build-cache:${FILE}",
# ]
tags = [
"ghcr.io/${OWNER}/${FILE}",
"${FILE}/${FILE}",
......@@ -81,10 +81,10 @@ target "full" {
args = {
BASE_IMAGE_TYPE = "full"
}
cache-from = [
"type=registry,ref=ghcr.io/${OWNER}/${FILE}:full",
"type=registry,ref=ghcr.io/${OWNER}/docker-build-cache:${FILE}-full",
]
# cache-from = [
# "type=registry,ref=ghcr.io/${OWNER}/${FILE}:full",
# "type=registry,ref=ghcr.io/${OWNER}/docker-build-cache:${FILE}-full",
# ]
tags = [
"ghcr.io/${OWNER}/${FILE}:full",
"${FILE}/${FILE}:full",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment