fix docker image lowcase naming

This commit is contained in:
2025-09-23 19:29:41 +02:00
parent b93b91d352
commit 39a6c3dd8b
2 changed files with 4 additions and 5 deletions

View File

@@ -32,11 +32,12 @@ jobs:
id: git_sha id: git_sha
run: echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT run: echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Define Image Names - name: Define Image Names in Lowercase
id: image_names id: image_names
run: | run: |
echo "backend_image=ghcr.io/${{ github.repository_owner }}/utools-backend" >> $GITHUB_OUTPUT OWNER_LC=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
echo "frontend_image=ghcr.io/${{ github.repository_owner }}/utools-frontend" >> $GITHUB_OUTPUT echo "backend_image=ghcr.io/$OWNER_LC/utools-backend" >> $GITHUB_OUTPUT
echo "frontend_image=ghcr.io/$OWNER_LC/utools-frontend" >> $GITHUB_OUTPUT
- name: Build images using compose.build.yml - name: Build images using compose.build.yml
env: env:

View File

@@ -7,12 +7,10 @@ services:
args: args:
- GIT_COMMIT_SHA=${GIT_COMMIT_SHA:-unknown} - GIT_COMMIT_SHA=${GIT_COMMIT_SHA:-unknown}
- SENTRY_DSN=${SENTRY_DSN:-} - SENTRY_DSN=${SENTRY_DSN:-}
# Legt den Namen für das gebaute Image fest
image: ghcr.io/mrunknownde/utools-backend:latest image: ghcr.io/mrunknownde/utools-backend:latest
frontend: frontend:
# Definiert, wie das Image gebaut wird # Definiert, wie das Image gebaut wird
build: build:
context: ./frontend context: ./frontend
# Legt den Namen für das gebaute Image fest
image: ghcr.io/mrunknownde/utools-frontend:latest image: ghcr.io/mrunknownde/utools-frontend:latest