Update .gitea/workflows/docker-test.yml
Some checks failed
Docker Test / test (push) Failing after 1s

This commit is contained in:
monheim 2025-04-20 23:11:38 +02:00
parent 6753446ef7
commit 872c4cae13

View File

@ -1,23 +1,14 @@
name: Docker Test name: Docker Test
on: [push] on: [push]
jobs:
build: jobs:
runs-on: windows # Must match runner's label in config.yaml test:
runs-on: windows # Your Windows runner label
container: container:
image: mcr.microsoft.com/windows/servercore:ltsc2019 image: mcr.microsoft.com/windows/servercore:ltsc2019 # Windows Server 2019 base image
options: --isolation=process --entrypoint cmd /c "timeout 5" # Test container startup options: --isolation=process # Required for Windows containers
steps: steps:
- name: Debug container - name: Test Docker
run: echo "Container is alive!"
- name: Install Rust
if: success()
run: | run: |
curl -sSf -o rustup-init.exe https://win.rustup.rs/ docker --version
.\rustup-init.exe -y --default-toolchain stable hostname
refreshenv
rustup component add rust-src
- name: Build
if: success()
run: cargo build