.gitea/workflows/build.yml aktualisiert
Build and Push Docker Image / build (push) Failing after 30s

This commit is contained in:
2026-04-25 11:18:44 +00:00
parent 80791e4aa7
commit 662e565116
+6 -4
View File
@@ -11,7 +11,11 @@ env:
jobs:
build:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -22,9 +26,9 @@ jobs:
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: ${{ gitea.server_url }}
registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }}
password: ${{ gitea.token }}
- name: Extract metadata
id: meta
@@ -42,5 +46,3 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max