From 82163144e7f6bd927824c2fd2deef3b0ae5bf2fd Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Mon, 6 Apr 2026 15:59:29 +0200 Subject: [PATCH] ci: use --no-cache for Docker builds, remove registry cache Local registry makes cache overhead unnecessary. Ensures fresh builds with no stale layer reuse. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5b84e09..036e9e9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -102,8 +102,7 @@ jobs: docker buildx build --platform linux/amd64 \ --build-arg REGISTRY_TOKEN="$REGISTRY_TOKEN" \ $TAGS \ - --cache-from type=registry,ref=gitea.siegeln.net/cameleer/cameleer-saas:buildcache \ - --cache-to type=registry,ref=gitea.siegeln.net/cameleer/cameleer-saas:buildcache,mode=max \ + --no-cache \ --provenance=false \ --push . env: @@ -119,8 +118,7 @@ jobs: --build-arg REGISTRY_TOKEN="$REGISTRY_TOKEN" \ -f ui/sign-in/Dockerfile \ $TAGS \ - --cache-from type=registry,ref=gitea.siegeln.net/cameleer/cameleer-logto:buildcache \ - --cache-to type=registry,ref=gitea.siegeln.net/cameleer/cameleer-logto:buildcache,mode=max \ + --no-cache \ --provenance=false \ --push ui/sign-in/ env: