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:" echo "Windows binary:"
ls -la windows-bin/ ls -la windows-bin/
- name: Build Linux Docker image - name: Build using Docker Buildx
env:
DOCKER_BUILDKIT: 1
BUILDKIT_PROGRESS: plain
run: | run: |
for attempt in {1..3}; do docker buildx create --use
if docker buildx build \ docker buildx build \
--platform linux/amd64 \ --platform linux/amd64 \
-f Dockerfile.linux \ -f Dockerfile.linux \
--build-arg BINARY_NAME=${{ needs.detect-project.outputs.project-name }} \ --build-arg BINARY_NAME=${{ needs.detect-project.outputs.project-name }} \
-t ${{ env.IMAGE_NAME }}:linux-${{ env.TAG }} \ -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
- name: Login to Docker registry - name: Login to Docker registry
if: ${{ success() }} if: ${{ success() }}