removed retries

This commit is contained in:
2025-08-03 19:51:50 +02:00
parent 858833165c
commit 097ad65b03

View File

@@ -149,24 +149,14 @@ jobs:
echo "Windows binary:"
ls -la windows-bin/
- name: Build Linux Docker image
env:
DOCKER_BUILDKIT: 1
BUILDKIT_PROGRESS: plain
- name: Build using Docker Buildx
run: |
for attempt in {1..3}; do
if docker buildx build \
--platform linux/amd64 \
-f Dockerfile.linux \
--build-arg BINARY_NAME=${{ needs.detect-project.outputs.project-name }} \
-t ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} \
--output=type=docker .; then
break
fi
echo "Attempt $attempt failed, retrying in 5 seconds..."
sleep 5
docker system prune -af
done
docker buildx create --use
docker buildx build \
--platform linux/amd64 \
-f Dockerfile.linux \
--build-arg BINARY_NAME=${{ needs.detect-project.outputs.project-name }} \
-t ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} \
- name: Login to Docker registry
if: ${{ success() }}