6 Commits

Author SHA1 Message Date
Alessio e86fdf0c9b Merge branch 'main' of https://gitea.home-nas-ds.org/Alessio/Data-Coupler
Build and Push Docker Images / Create Multi-Platform Manifest (push) Has been cancelled
Build and Push Docker Images / Build Linux Container (push) Has been cancelled
Build and Push Docker Images / Build Windows Container (push) Has started running
2026-01-24 18:13:46 +01:00
Alessio 505349e10b Aggiornamento workflow per build Windows Docker image 2026-01-24 18:13:07 +01:00
Alessio c0d3f87a7e Rimosso il branch Development dall'action riguardante i container 2026-01-24 18:12:48 +01:00
Alessio 1d9b4902d4 [Fix] Rimossa cache gha non disponibile su Gitea Actions (causava timeout)
Build and Push Docker Images / Build Linux Container (push) Successful in 6m55s
Build and Push Docker Images / Create Multi-Platform Manifest (push) Has been cancelled
Build and Push Docker Images / Build Windows Container (push) Has been cancelled
2026-01-24 17:46:07 +01:00
Alessio e707045d63 [Fix] Clone direttamente in directory corrente (git clone ... .) invece di sottocartella
Build and Push Docker Images / Build Linux Container (push) Failing after 9m5s
Build and Push Docker Images / Create Multi-Platform Manifest (push) Has been cancelled
Build and Push Docker Images / Build Windows Container (push) Has been cancelled
2026-01-24 17:33:07 +01:00
Alessio d8a2069640 [Fix] Semplificato checkout: clone in cartella source e cd, eliminato robocopy
Build and Push Docker Images / Build Windows Container (push) Failing after 20s
Build and Push Docker Images / Create Multi-Platform Manifest (push) Has been cancelled
Build and Push Docker Images / Build Linux Container (push) Has been cancelled
2026-01-24 17:29:53 +01:00
+3 -24
View File
@@ -4,7 +4,6 @@ on:
push: push:
branches: branches:
- main - main
- development
- staging - staging
workflow_dispatch: workflow_dispatch:
inputs: inputs:
@@ -87,8 +86,6 @@ jobs:
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64 platforms: linux/amd64
build-windows: build-windows:
@@ -101,30 +98,12 @@ jobs:
steps: steps:
- name: Checkout repository with Git - name: Checkout repository with Git
run: | run: |
echo ===== Cloning repository from Gitea ===== git clone --depth 1 --branch ${{ github.ref_name }} https://alessio:%REGISTRY_TOKEN%@gitea.home-nas-ds.org/${{ github.repository }}.git .
git clone --depth 1 --branch ${{ github.ref_name }} https://alessio:%REGISTRY_TOKEN%@gitea.home-nas-ds.org/${{ github.repository }}.git repo if not exist Dockerfile.windows (
if errorlevel 1 (
echo Failed to clone repository
exit /b 1
)
echo ===== Moving files to working directory =====
robocopy repo . /E /MOVE /NFL /NDL /NJH /NJS
REM robocopy exit codes: 0=no copy, 1=ok, 2=extra files, 3=ok+extra, 4+=error
if %ERRORLEVEL% GEQ 8 (
echo Robocopy failed with exit code %ERRORLEVEL%
exit /b 1
)
rmdir repo /S /Q 2>nul
echo ===== Verifying checkout =====
if exist Dockerfile.windows (
echo SUCCESS: Repository checked out, Dockerfile.windows found
) else (
echo ERROR: Dockerfile.windows not found echo ERROR: Dockerfile.windows not found
dir /B
exit /b 1 exit /b 1
) )
echo SUCCESS: Repository cloned
env: env:
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }} REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
shell: cmd shell: cmd