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.
This commit is contained in:
parent
aae3511d86
commit
7f5226d500
|
|
@ -10,9 +10,6 @@ on:
|
||||||
- 'core/**'
|
- 'core/**'
|
||||||
- 'frontend/**'
|
- 'frontend/**'
|
||||||
- 'config/docker/**'
|
- 'config/docker/**'
|
||||||
# - 'build.gradle.kts'
|
|
||||||
# - 'settings.gradle.kts'
|
|
||||||
# - 'gradle.properties'
|
|
||||||
- 'docker-compose.yaml'
|
- 'docker-compose.yaml'
|
||||||
- '.gitea/workflows/docker-publish.yaml'
|
- '.gitea/workflows/docker-publish.yaml'
|
||||||
|
|
||||||
|
|
@ -105,20 +102,6 @@ jobs:
|
||||||
username: ${{ secrets.REGISTRY_USER }}
|
username: ${{ secrets.REGISTRY_USER }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
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
|
- name: Extract metadata
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
|
|
@ -145,7 +128,3 @@ jobs:
|
||||||
JAVA_VERSION=${{ env.JAVA_VERSION }}
|
JAVA_VERSION=${{ env.JAVA_VERSION }}
|
||||||
KEYCLOAK_IMAGE_TAG=26.4
|
KEYCLOAK_IMAGE_TAG=26.4
|
||||||
JVM_OPTS_APPEND=${{ env.JVM_OPTS_ARM64 }}
|
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
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user