From 6e84ba96c83e3e92fc763c00ecaa8c7d95b0ac26 Mon Sep 17 00:00:00 2001 From: Marc Boehm Date: Mon, 25 Mar 2024 13:43:58 +0100 Subject: [PATCH] CAPAUT-353 Adjust docker --- .../workflows/publish-docker-springboot.yaml | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.gitea/workflows/publish-docker-springboot.yaml b/.gitea/workflows/publish-docker-springboot.yaml index 78abc4d..a0b2369 100644 --- a/.gitea/workflows/publish-docker-springboot.yaml +++ b/.gitea/workflows/publish-docker-springboot.yaml @@ -18,31 +18,31 @@ jobs: steps: - name: Checkout source code uses: actions/checkout@v4 - - name: Downlod build artifacts (dist files) - uses: actions/download-artifact@v3 - with: - name: artifacts-build - path: build/ - - name: Setup docker buildx environment - uses: docker/setup-buildx-action@v3 - #- name: Login to docker registry - # uses: docker/login-action@v3 - # with: - # registry: ${{ vars.CONTAINER_REGISTRY_URL }} - # username: ${{ vars.CONTAINER_REGISTRY_USERNAME }} - # password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }} - - name: Setup environment variables from "build/env-setup.sh" - run: | - source build/env-setup.sh - #- name: Build and push docker image - # uses: docker/build-push-action@v5 - # with: - # context: . - # file: ./Dockerfile - # push: true - # tags: "${{ vars.CONTAINER_REGISTRY_URL }}/${{gitea.repository}}:latest" - # build-args: | - # FILE_BINARY=${{ env.CAPTICA_APPLICATION_FILE_BINARY }} - # NAME_APPLICATION=${{ env.CAPTICA_APPLICATION_NAME }} - # PORT_EXPOSURE=${{ env.CAPTICA_APPLICATION_PORT }} - # JAVA_VERSION=${{ env.CAPTICA_APPLICATION_JAVA_VERSION }} \ No newline at end of file +# - name: Downlod build artifacts (dist files) +# uses: actions/download-artifact@v3 +# with: +# name: artifacts-build +# path: build/ +# - name: Setup docker buildx environment +# uses: docker/setup-buildx-action@v3 +# - name: Login to docker registry +# uses: docker/login-action@v3 +# with: +# registry: ${{ vars.CONTAINER_REGISTRY_URL }} +# username: ${{ vars.CONTAINER_REGISTRY_USERNAME }} +# password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }} +# - name: Setup environment variables from "build/env-setup.sh" +# run: | +# source build/env-setup.sh +# - name: Build and push docker image +# uses: docker/build-push-action@v5 +# with: +# context: . +# file: ./Dockerfile +# push: true +# tags: "${{ vars.CONTAINER_REGISTRY_URL }}/${{gitea.repository}}:latest" +# build-args: | +# FILE_BINARY=${{ env.CAPTICA_APPLICATION_FILE_BINARY }} +# NAME_APPLICATION=${{ env.CAPTICA_APPLICATION_NAME }} +# PORT_EXPOSURE=${{ env.CAPTICA_APPLICATION_PORT }} +# JAVA_VERSION=${{ env.CAPTICA_APPLICATION_JAVA_VERSION }} \ No newline at end of file