From be14d8325b02edab17977a885ffa426c1f0505a8 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Fri, 25 Mar 2022 11:19:51 +0300 Subject: [PATCH] github: add job to check Ubuntu privnet image build Related to https://github.com/nspcc-dev/neo-go/pull/2408#pullrequestreview-921289314. --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 03d655908..1d28e72cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -127,3 +127,27 @@ jobs: - name: Build Docker image run: make image-wsc + + build_privnet_image_ubuntu: + needs: build_cli_ubuntu + name: Build privnet Docker image (Ubuntu) + runs-on: ubuntu-20.04 + + 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