fix daily-docker.yml

This commit is contained in:
2026-04-19 21:54:19 +02:00
parent 68318109ed
commit a5e707f841

View File

@@ -22,6 +22,8 @@ jobs:
steps: steps:
- name: 📥 Checkout Repository - name: 📥 Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🔍 Auf VDO.Ninja Updates prüfen - name: 🔍 Auf VDO.Ninja Updates prüfen
id: check id: check
@@ -68,25 +70,26 @@ 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_LATEST="${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:latest" with:
IMAGE_TAG="${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ steps.check.outputs.upstream_tag }}" context: .
push: true
docker build \ tags: |
--label "org.opencontainers.image.title=VDO.Ninja" \ ${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:latest
--label "org.opencontainers.image.description=Self-hosted VDO.Ninja - Free browser-based peer-to-peer video streaming" \ ${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ steps.check.outputs.upstream_tag }}
--label "org.opencontainers.image.version=${{ steps.check.outputs.upstream_tag }}" \ labels: |
--label "org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}" \ org.opencontainers.image.title=VDO.Ninja
--label "org.opencontainers.image.upstream=https://github.com/steveseguin/vdo.ninja" \ org.opencontainers.image.description=Self-hosted VDO.Ninja - Free browser-based peer-to-peer video streaming
--label "org.opencontainers.image.licenses=AGPL-3.0" \ org.opencontainers.image.version=${{ steps.check.outputs.upstream_tag }}
-t "${IMAGE_LATEST}" \ org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
-t "${IMAGE_TAG}" \ org.opencontainers.image.upstream=https://github.com/steveseguin/vdo.ninja
. org.opencontainers.image.licenses=AGPL-3.0
docker push "${IMAGE_LATEST}"
docker push "${IMAGE_TAG}"
- name: 📊 Build-Zusammenfassung - name: 📊 Build-Zusammenfassung
if: always() if: always()