removed windows from docker builds

This commit is contained in:
2025-08-05 18:56:34 +02:00
parent b1ea1dc96a
commit 59e5677ca4

View File

@@ -149,9 +149,8 @@ jobs:
- name: Linux build using Docker Buildx
run: |
docker buildx create --use --buildkitd-flags '--allow-insecure-entitlement network.host'
docker buildx create --use
docker buildx build \
--allow network.host \
--platform linux/amd64 \
-f Dockerfile.linux \
--build-arg BINARY_NAME=${{ needs.detect-project.outputs.project-name }} \
@@ -166,42 +165,6 @@ jobs:
echo "Pushing Linux Docker image to registry: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:linux-${{ env.TAG }}"
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:linux-${{ env.TAG }}
windows-docker-build:
name: Build Windows Docker Image
needs: [windows-cross]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download Windows artifact
uses: actions/download-artifact@v3
with:
name: windows-binary
path: windows-bin
- name: Verify artifacts
run: |
echo "Windows binary:"
ls -la windows-bin/
- name: Login to Docker Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Windows build using Docker Buildx
run: |
docker buildx create --use --buildkitd-flags '--allow-insecure-entitlement network.host'
docker buildx build \
--allow network.host \
--platform windows/amd64 \
-f Dockerfile.windows \
--build-arg BINARY_NAME=${{ needs.detect-project.outputs.project-name }} \
--push \
-t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:windows-${{ env.TAG }} .
cleanup:
name: Cleanup
if: always()