From b01892613e9a8cc06854e6d203507891f85d3f5b Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Fri, 25 Mar 2022 16:08:37 +0300 Subject: [PATCH] github: add job to check WSC privnet image build --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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