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) <noreply@anthropic.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user