.gitea/workflows/docker-builder.yml aktualisiert
Some checks failed
Docker Build Smart Logic / Build amd64 & arm64 (push) Failing after 8s

This commit is contained in:
2026-02-10 11:32:41 +00:00
parent d6d7f73d3a
commit 1b7b5b3195

View File

@@ -204,17 +204,17 @@ jobs:
--push .
# arm64 build mit Registry-Cache (mode=min für weniger Fragmente)
docker buildx build \
--platform linux/arm64 \
-f ${ARM64_DOCKERFILE} \
--build-arg BASE_IMAGE="$BASE_IMAGE" \
--build-arg APP_VERSION="$APP_VERSION" \
--label org.opencontainers.image.version="$APP_VERSION" \
--label org.opencontainers.image.created="$BUILD_DATE" \
--cache-from type=registry,ref=${CACHE_REF}:arm64 \
--cache-to type=registry,ref=${CACHE_REF}:arm64,mode=min \
-t ${CACHE_IMAGE_NAME}:${VERSION}-arm64 \
--push .
#docker buildx build \
# --platform linux/arm64 \
# -f ${ARM64_DOCKERFILE} \
# --build-arg BASE_IMAGE="$BASE_IMAGE" \
# --build-arg APP_VERSION="$APP_VERSION" \
# --label org.opencontainers.image.version="$APP_VERSION" \
# --label org.opencontainers.image.created="$BUILD_DATE" \
# --cache-from type=registry,ref=${CACHE_REF}:arm64 \
# --cache-to type=registry,ref=${CACHE_REF}:arm64,mode=min \
# -t ${CACHE_IMAGE_NAME}:${VERSION}-arm64 \
# --push .
# Manifest-Erstellung (verbindet die Architekturen zu den finalen Tags)
for TAG in $(echo $DOCKER_TAGS | tr ',' ' '); do