From 7f5226d500b74a75d294c21d5ac012cc3b00ac20 Mon Sep 17 00:00:00 2001 From: Stefan Mogeritsch Date: Thu, 5 Mar 2026 11:35:15 +0100 Subject: [PATCH] refactor: remove commented-out code in Docker workflow configuration Eliminated unused and outdated commented lines from `.gitea/workflows/docker-publish.yaml` to improve clarity and maintainability. --- .gitea/workflows/docker-publish.yaml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.gitea/workflows/docker-publish.yaml b/.gitea/workflows/docker-publish.yaml index 0de82d8f..594b306f 100644 --- a/.gitea/workflows/docker-publish.yaml +++ b/.gitea/workflows/docker-publish.yaml @@ -10,9 +10,6 @@ on: - 'core/**' - 'frontend/**' - 'config/docker/**' - # - 'build.gradle.kts' - # - 'settings.gradle.kts' - # - 'gradle.properties' - 'docker-compose.yaml' - '.gitea/workflows/docker-publish.yaml' @@ -105,20 +102,6 @@ jobs: username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_TOKEN }} - # - name: Build and push Docker image - # uses: docker/build-push-action@v6 - # with: - # context: . - # file: ${{ matrix.dockerfile }} - # push: true - # tags: ${{ env.REGISTRY }}/${{ env.IMAGE_PREFIX }}/${{ matrix.name }}:latest - # build-args: | - # DOCKER_BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') - # VERSION=${{ github.sha }} - # GRADLE_VERSION=${{ env.GRADLE_VERSION }} - # JAVA_VERSION=${{ env.JAVA_VERSION }} - # JVM_OPTS_APPEND=${{ env.JVM_OPTS_ARM64 }} - - name: Extract metadata id: meta uses: docker/metadata-action@v5 @@ -145,7 +128,3 @@ jobs: JAVA_VERSION=${{ env.JAVA_VERSION }} KEYCLOAK_IMAGE_TAG=26.4 JVM_OPTS_APPEND=${{ env.JVM_OPTS_ARM64 }} -# cache-from: type=local,src=/tmp/.buildx-cache -# cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max -# cache-from: type=gha -# cache-to: type=gha,mode=max