From 791f7a3f806e05b2bc0b96fedde999ad1e2ede9d Mon Sep 17 00:00:00 2001 From: Dries Peeters Date: Tue, 26 Aug 2025 12:00:22 +0200 Subject: [PATCH] trying more... --- .github/workflows/docker-publish.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index e9a4d59..04cdcc6 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -61,6 +61,20 @@ jobs: ls -la echo "--- Dockerfile content ---" cat Dockerfile | head -10 + echo "--- File encoding check ---" + file Dockerfile + echo "--- Line endings check ---" + hexdump -C Dockerfile | head -20 + + - name: Fix line endings + run: | + # Convert Windows line endings to Unix + dos2unix Dockerfile || true + # Ensure proper permissions + chmod 644 Dockerfile + echo "--- After fixing line endings ---" + file Dockerfile + hexdump -C Dockerfile | head -20 - name: Build and push Docker image uses: docker/build-push-action@v5