fix docker build

This commit is contained in:
2026-04-19 22:17:58 +02:00
parent 0b193af0af
commit d2ffc06de4

View File

@@ -70,29 +70,27 @@ jobs:
username: ${{ secrets.REGISTRY_USER }} username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
- name: 🛠️ Docker Buildx einrichten
if: steps.check.outputs.should_build == 'true'
uses: docker/setup-buildx-action@v3
- name: 🏗️ Docker Image bauen und pushen - name: 🏗️ Docker Image bauen und pushen
if: steps.check.outputs.should_build == 'true' if: steps.check.outputs.should_build == 'true'
run: | uses: docker/build-push-action@v6
IMAGE_BASE="${{ steps.check.outputs.registry }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}" with:
TAG_LATEST="${IMAGE_BASE}:latest" context: .
TAG_VERSION="${IMAGE_BASE}:${{ steps.check.outputs.upstream_tag }}" push: true
provenance: false
echo "🔨 Baue Docker Image..." tags: |
DOCKER_BUILDKIT=0 docker build \ ${{ steps.check.outputs.registry }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest
--label "org.opencontainers.image.title=VDO.Ninja" \ ${{ steps.check.outputs.registry }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:${{ steps.check.outputs.upstream_tag }}
--label "org.opencontainers.image.description=Self-hosted VDO.Ninja - Free browser-based peer-to-peer video streaming" \ labels: |
--label "org.opencontainers.image.version=${{ steps.check.outputs.upstream_tag }}" \ org.opencontainers.image.title=VDO.Ninja
--label "org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}" \ org.opencontainers.image.description=Self-hosted VDO.Ninja - Free browser-based peer-to-peer video streaming
--label "org.opencontainers.image.upstream=https://github.com/steveseguin/vdo.ninja" \ org.opencontainers.image.version=${{ steps.check.outputs.upstream_tag }}
--label "org.opencontainers.image.licenses=AGPL-3.0" \ org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
-t "${TAG_LATEST}" \ org.opencontainers.image.upstream=https://github.com/steveseguin/vdo.ninja
-t "${TAG_VERSION}" \ org.opencontainers.image.licenses=AGPL-3.0
.
echo "📤 Pushe ${TAG_LATEST}..."
docker push "${TAG_LATEST}"
echo "📤 Pushe ${TAG_VERSION}..."
docker push "${TAG_VERSION}"
- name: 📊 Build-Zusammenfassung - name: 📊 Build-Zusammenfassung
if: always() if: always()