revert 1503a7e863
Some checks failed
.NET Docker Build & Push / build_and_push (push) Has been cancelled

revert Merge branch 'main' of https://gitea.penry.de/Henry/CouchLog
This commit is contained in:
Henry Trumme
2025-12-08 21:53:01 +01:00
parent 71ab277924
commit 1cd7c15182

View File

@@ -9,14 +9,10 @@ on:
jobs: jobs:
build_and_push: build_and_push:
runs-on: ubuntu-latest runs-on: ubuntu-latest # Dein Runner mappt das ja auf Debian Bookworm
container:
image: catthehacker/ubuntu:act-latest # Optional, Standard-Umgebung für den Job selbst
# --- WICHTIG: Das hier hat gefehlt ---
permissions:
packages: write
contents: read
# -------------------------------------
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -25,7 +21,7 @@ jobs:
- name: Log in to the Container registry - name: Log in to the Container registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: gitea.penry.de registry: gitea.penry.de # <-- ANPASSEN (ohne https://)
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}
@@ -34,9 +30,11 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: gitea.penry.de/${{ github.repository }} images: gitea.penry.de/${{ github.repository }} # <-- ANPASSEN
# Der eigentliche Build. # Der eigentliche Build.
# Da wir ein Multi-Stage Dockerfile haben, führt dieser Schritt
# automatisch "dotnet restore" und "dotnet publish" aus.
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
@@ -45,6 +43,5 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
# Da dein Runner auf dem Pi läuft, baut er automatisch ARM64. # Wichtig für Raspberry Pi Builds, falls du Cross-Platform bauen willst (optional)
# Wir erzwingen es hier aber, damit im Metadaten-Tag alles stimmt.
platforms: linux/arm64 platforms: linux/arm64