From f3ae4a400f555a7ccdaadf9857ed629e46729ce6 Mon Sep 17 00:00:00 2001 From: alvicsam Date: Fri, 1 Nov 2024 10:27:09 +0100 Subject: [PATCH] add build docker jobs --- .github/workflows/pr.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d0401cd5c..45aceabb5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -158,3 +158,19 @@ jobs: node-version: ${{ matrix.node-version }} - run: yarn - run: yarn test:test-release + + build_docker: + name: Build docker image + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v4 + + - name: Build Docker image + uses: docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile + push: false + tags: | + docker.io/parity/substrate-api-sidecar:latest