From 872c4cae13986266a658948026bb5cfd496ef7df Mon Sep 17 00:00:00 2001 From: monheim Date: Sun, 20 Apr 2025 23:11:38 +0200 Subject: [PATCH] Update .gitea/workflows/docker-test.yml --- .gitea/workflows/docker-test.yml | 33 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/.gitea/workflows/docker-test.yml b/.gitea/workflows/docker-test.yml index eb2a7b0..e61a303 100644 --- a/.gitea/workflows/docker-test.yml +++ b/.gitea/workflows/docker-test.yml @@ -1,23 +1,14 @@ name: Docker Test on: [push] - jobs: - build: - runs-on: windows # Must match runner's label in config.yaml - container: - image: mcr.microsoft.com/windows/servercore:ltsc2019 - options: --isolation=process --entrypoint cmd /c "timeout 5" # Test container startup - steps: - - name: Debug container - run: echo "Container is alive!" - - - name: Install Rust - if: success() - run: | - curl -sSf -o rustup-init.exe https://win.rustup.rs/ - .\rustup-init.exe -y --default-toolchain stable - refreshenv - rustup component add rust-src - - - name: Build - if: success() - run: cargo build \ No newline at end of file + +jobs: + test: + runs-on: windows # Your Windows runner label + container: + image: mcr.microsoft.com/windows/servercore:ltsc2019 # Windows Server 2019 base image + options: --isolation=process # Required for Windows containers + steps: + - name: Test Docker + run: | + docker --version + hostname \ No newline at end of file