From e707045d6398ce33679cc185822968290e4a1323 Mon Sep 17 00:00:00 2001 From: Alessio Dal Santo Date: Sat, 24 Jan 2026 17:33:07 +0100 Subject: [PATCH] [Fix] Clone direttamente in directory corrente (git clone ... .) invece di sottocartella --- .gitea/workflows/docker-build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 682dc97..403b2af 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -101,8 +101,7 @@ jobs: steps: - name: Checkout repository with Git run: | - git clone --depth 1 --branch ${{ github.ref_name }} https://alessio:%REGISTRY_TOKEN%@gitea.home-nas-ds.org/${{ github.repository }}.git source - cd source + git clone --depth 1 --branch ${{ github.ref_name }} https://alessio:%REGISTRY_TOKEN%@gitea.home-nas-ds.org/${{ github.repository }}.git . if not exist Dockerfile.windows ( echo ERROR: Dockerfile.windows not found exit /b 1 @@ -157,8 +156,8 @@ jobs: if "%BRANCH%"=="staging" ( set TAGS=%IMAGE_LOWER%:staging-latest-windows set TAGS=%TAGS% %IMAGE_LOWER%:staging-windows-%SHORT_SHA% + ) - cd source echo Building Windows Docker image... docker build -t temp-windows -f Dockerfile.windows . if errorlevel 1 (