try to push a docker image :D

This commit is contained in:
2025-09-23 19:33:38 +02:00
parent 39a6c3dd8b
commit 93132c256d

View File

@@ -8,6 +8,7 @@ on:
jobs:
build-and-push:
runs-on: ubuntu-latest
# DIESER BLOCK IST ENTSCHEIDEND - er wird aber von den Repo-Settings überschrieben, wenn diese zu restriktiv sind.
permissions:
contents: read
packages: write # Notwendig, um in die GHCR zu pushen
@@ -16,7 +17,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Notwendig, um den Git-Hash zu bekommen
fetch-depth: 0
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
@@ -42,7 +43,7 @@ jobs:
- name: Build images using compose.build.yml
env:
GIT_COMMIT_SHA: ${{ steps.git_sha.outputs.sha }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} # Sentry DSN als Secret übergeben
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
run: |
docker compose -f compose.build.yml build