Update .gitea/workflows/ci.yml
Some checks failed
CI - Build Tonehaus Docker image / build (push) Failing after 1m35s

This commit is contained in:
2025-11-07 11:52:32 +00:00
parent a54556ea34
commit d8353d45a1

View File

@@ -38,23 +38,6 @@ jobs:
run: |
echo "$REGISTRY_PASSWORD" | docker login "$REGISTRY" -u "$REGISTRY_USERNAME" --password-stdin
- name: Build and push multi-arch image (if registry configured)
if: ${{ env.REGISTRY != '' && env.REGISTRY_IMAGE != '' }}
env:
REGISTRY: ${{ secrets.REGISTRY }}
REGISTRY_IMAGE: ${{ secrets.REGISTRY_IMAGE }}
run: |
TAG_SHA=${{ steps.meta.outputs.short_sha }}
docker buildx build \
--platform "$PLATFORMS" \
--file "$DOCKERFILE" \
--target "$BUILD_TARGET" \
--build-arg APP_ENV=prod \
--tag "$REGISTRY/$REGISTRY_IMAGE:$TAG_SHA" \
--tag "$REGISTRY/$REGISTRY_IMAGE:ci" \
--push \
.
- name: Build single-arch images for artifacts (no registry)
if: ${{ env.REGISTRY == '' }}
run: |