diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df34d8325..a895af440 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -151,3 +151,27 @@ jobs: - name: Build privnet Docker image run: make env_image + + build_privnet_image_wsc: + needs: build_cli_wsc + name: Build privnet Docker image (Windows Server Core) + runs-on: windows-2022 + + steps: + - uses: actions/checkout@v2 + with: + ref: ${{ github.event.inputs.ref }} + fetch-depth: 0 + + # For proper `deps` make target execution. + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.18 + + # For information purposes. + - name: Print Docker version + run: docker --version + + - name: Build privnet Docker image + run: make env_image