From 59d5de46f9856b011b3537c9adc70c30289b09d6 Mon Sep 17 00:00:00 2001 From: "info@pi-farm.de" <6+pi-farm@noreply.git.pi-farm.de> Date: Wed, 7 Oct 2026 11:52:20 +0000 Subject: [PATCH] .gitea/workflows/build-and-push.yaml aktualisiert --- .gitea/workflows/build-and-push.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index e1cc772..f2fc961 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -2,6 +2,12 @@ on: push: branches: - 'dev' + paths-ignore: + - 'README.md' + - 'VERSION.history' + - 'docker-compose.yml' + - '*.md' + - '.gitignore' tags: - '*' schedule: @@ -154,6 +160,8 @@ jobs: # 1. Build AMD64 & Push docker buildx build "${DOCKER_ARGS[@]}" "${AMD_TAGS[@]}" \ + --cache-from "type=registry,ref=$IMAGE_GITEA:buildcache-amd64" \ + --cache-to "type=registry,ref=$IMAGE_GITEA:buildcache-amd64,mode=max" \ --pull --platform linux/amd64 -f Dockerfile \ --label "pi_farm.base_digest=$BASE_SHA" --label "pi_farm.args_hash=$ARGS_HASH" --push . @@ -170,6 +178,8 @@ jobs: fi docker buildx build "${DOCKER_ARGS[@]}" "${ARM_TAGS[@]}" \ + --cache-from "type=registry,ref=$IMAGE_GITEA:buildcache-arm64" \ + --cache-to "type=registry,ref=$IMAGE_GITEA:buildcache-arm64,mode=max" \ --pull --platform linux/arm64 -f Dockerfile.aarch64 \ --label "pi_farm.base_digest=$BASE_SHA" --label "pi_farm.args_hash=$ARGS_HASH" --push . else