From 16f615f4499c34269308106a16e237f358a0ce34 Mon Sep 17 00:00:00 2001 From: donpat1to Date: Mon, 4 Aug 2025 20:14:33 +0200 Subject: [PATCH] cleaned up code --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 187da3d..925389f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -149,6 +149,13 @@ jobs: echo "Windows binary:" ls -la windows-bin/ + - name: Login to Docker Registry + uses: docker/login-action@v3 + with: + registry: ${{ env.REGISTRY }} + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Linux build using Docker Buildx run: | docker buildx create --use @@ -159,13 +166,6 @@ jobs: --load \ -t ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} . - - name: Login to Docker Registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Tag and Push Linux Docker image if: ${{ success() }} run: |