fix daily-docker.yml
Some checks failed
Daily Docker Build / Update-Check & Build (push) Failing after 1m31s
Some checks failed
Daily Docker Build / Update-Check & Build (push) Failing after 1m31s
This commit is contained in:
@@ -62,36 +62,27 @@ jobs:
|
|||||||
git clone --depth 1 ${{ env.UPSTREAM_REPO }} vdo-ninja-source
|
git clone --depth 1 ${{ env.UPSTREAM_REPO }} vdo-ninja-source
|
||||||
echo "VDO.Ninja Commit: $(cd vdo-ninja-source && git rev-parse --short HEAD)"
|
echo "VDO.Ninja Commit: $(cd vdo-ninja-source && git rev-parse --short HEAD)"
|
||||||
|
|
||||||
- name: Login zur Container Registry
|
- name: Bei Gitea Registry einloggen
|
||||||
if: steps.check.outputs.should_build == 'true'
|
if: steps.check.outputs.should_build == 'true'
|
||||||
uses: docker/login-action@v3
|
run: |
|
||||||
with:
|
echo "${{ secrets.REGISTRY_TOKEN }}" | \
|
||||||
registry: ${{ vars.REGISTRY_URL }}
|
docker login ${{ steps.check.outputs.registry }} \
|
||||||
username: ${{ secrets.REGISTRY_USER }}
|
--username "${{ secrets.REGISTRY_USER }}" \
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
--password-stdin
|
||||||
|
|
||||||
- name: Docker Buildx einrichten
|
- name: Docker Image bauen
|
||||||
if: steps.check.outputs.should_build == 'true'
|
if: steps.check.outputs.should_build == 'true'
|
||||||
uses: docker/setup-buildx-action@v3
|
run: |
|
||||||
|
docker build \
|
||||||
|
-t ${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:latest \
|
||||||
|
-t ${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ steps.check.outputs.upstream_tag }} \
|
||||||
|
.
|
||||||
|
|
||||||
- name: Docker Image bauen und pushen
|
- name: Docker Image pushen
|
||||||
if: steps.check.outputs.should_build == 'true'
|
if: steps.check.outputs.should_build == 'true'
|
||||||
uses: docker/build-push-action@v6
|
run: |
|
||||||
with:
|
docker push ${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:latest
|
||||||
context: .
|
docker push ${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ steps.check.outputs.upstream_tag }}
|
||||||
provenance: false
|
|
||||||
sbom: false
|
|
||||||
outputs: type=image,push=true,oci-mediatypes=false
|
|
||||||
tags: |
|
|
||||||
${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:latest
|
|
||||||
${{ steps.check.outputs.registry }}/${{ secrets.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ steps.check.outputs.upstream_tag }}
|
|
||||||
labels: |
|
|
||||||
org.opencontainers.image.title=VDO.Ninja
|
|
||||||
org.opencontainers.image.description=Self-hosted VDO.Ninja - Free browser-based peer-to-peer video streaming
|
|
||||||
org.opencontainers.image.version=${{ steps.check.outputs.upstream_tag }}
|
|
||||||
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
|
|
||||||
org.opencontainers.image.upstream=https://github.com/steveseguin/vdo.ninja
|
|
||||||
org.opencontainers.image.licenses=AGPL-3.0
|
|
||||||
|
|
||||||
- name: Build-Zusammenfassung
|
- name: Build-Zusammenfassung
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user