mirror of
https://github.com/MrUnknownDE/utools.git
synced 2026-04-19 14:13:44 +02:00
try to push a docker image :D
This commit is contained in:
5
.github/workflows/docker-build-push.yml
vendored
5
.github/workflows/docker-build-push.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# DIESER BLOCK IST ENTSCHEIDEND - er wird aber von den Repo-Settings überschrieben, wenn diese zu restriktiv sind.
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write # Notwendig, um in die GHCR zu pushen
|
packages: write # Notwendig, um in die GHCR zu pushen
|
||||||
@@ -16,7 +17,7 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Notwendig, um den Git-Hash zu bekommen
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Log in to GitHub Container Registry
|
- name: Log in to GitHub Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@@ -42,7 +43,7 @@ jobs:
|
|||||||
- name: Build images using compose.build.yml
|
- name: Build images using compose.build.yml
|
||||||
env:
|
env:
|
||||||
GIT_COMMIT_SHA: ${{ steps.git_sha.outputs.sha }}
|
GIT_COMMIT_SHA: ${{ steps.git_sha.outputs.sha }}
|
||||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} # Sentry DSN als Secret übergeben
|
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||||
run: |
|
run: |
|
||||||
docker compose -f compose.build.yml build
|
docker compose -f compose.build.yml build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user