From 049ce241e89c7c9fef5f28f9d4ec6afa6a81c028 Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 3 Mar 2024 16:07:21 +0100 Subject: [PATCH] Update build.yml --- .gitea/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index cad49a4..5cbb0d9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -64,6 +64,7 @@ jobs: fi - name: Initialize Docker runtime + if: env.SKIP_SUBSEQUENT_STEPS != 'true' run: | apt-get update apt-get install ca-certificates curl gnupg lsb-release -y @@ -78,21 +79,26 @@ jobs: apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin -y - name: Download Artifact + if: env.SKIP_SUBSEQUENT_STEPS != 'true' uses: actions/download-artifact@v3 with: name: jar-artifact path: build/libs - name: Build Docker Image + if: env.SKIP_SUBSEQUENT_STEPS != 'true' run: docker build . -t walzen665/sharepulse:$VERSION - name: Tag Docker image + if: env.SKIP_SUBSEQUENT_STEPS != 'true' run: docker tag walzen665/sharepulse:latest git.walzen665.de/walzen665/sharepulse:$VERSION - name: Log in to Gitea Docker Registry + if: env.SKIP_SUBSEQUENT_STEPS != 'true' run: echo ${{ secrets.GITEAREGISTRYTOKEN }} | docker login -u ${{ secrets.GITEAREGISTRYUSERNAME }} --password-stdin https://git.walzen665.de - name: Push Docker Image to Gitea + if: env.SKIP_SUBSEQUENT_STEPS != 'true' run: docker push git.walzen665.de/walzen665/sharepulse:$VERSION