Fix: Static step names and direct registry paths
Build and Publish Docker Images / build-backend (config/docker/keycloak/Dockerfile, keycloak) (push) Failing after 5s
Build and Publish Docker Images / build-frontend (push) Failing after 4s
Build and Publish Docker Images / build-backend (backend/infrastructure/gateway/Dockerfile, api-gateway) (push) Failing after 7s
Build and Publish Docker Images / build-backend (backend/services/ping/Dockerfile, ping-service) (push) Failing after 5s

This commit is contained in:
2026-03-03 21:57:48 +01:00
parent 16d3f46e88
commit 09ab7c518a
+7 -7
View File
@@ -12,7 +12,7 @@ on:
- '.gitea/workflows/docker-publish.yaml'
jobs:
# JOB 1: Backend & Keycloak (Kein schwerer JS-Build)
# JOB 1: Backend Services (api-gateway, ping-service, keycloak)
build-backend:
runs-on: ubuntu-latest
strategy:
@@ -30,7 +30,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
java-version: '25'
@@ -46,7 +46,7 @@ jobs:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
- name: Build and push image
uses: docker/build-push-action@v5
with:
context: .
@@ -58,20 +58,20 @@ jobs:
JAVA_VERSION=25
JVM_OPTS_APPEND=-XX:ActiveProcessorCount=8 -XX:+UseG1GC -XX:+UseSVE=1
# JOB 2: Frontend (Eigener Job für maximalen RAM)
# JOB 2: Frontend (Separater Job für maximale RAM-Verfügbarkeit)
build-frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
java-version: '25'
distribution: 'temurin'
- name: Build JS Frontend
- name: Build JS Frontend Artifacts
run: |
chmod +x gradlew
./gradlew :frontend:shells:meldestelle-portal:jsBrowserDistribution \
@@ -90,7 +90,7 @@ jobs:
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push Web-App
- name: Build and push Web-App Image
uses: docker/build-push-action@v5
with:
context: .