.gitea/workflows/docker-builder.yml aktualisiert
Some checks failed
Docker Build Smart Logic / Build amd64 & arm64 (push) Failing after 8s
Some checks failed
Docker Build Smart Logic / Build amd64 & arm64 (push) Failing after 8s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user