Skip to content

Commit

Permalink
add docker build at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
vpavlin committed Jul 28, 2023
1 parent 2833bef commit 710be04
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ jobs:
- name: Build binaries
run: make V=1 QUICK_AND_DIRTY_COMPILER=1 v2 tools

- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: wakunode2
path: ./build/wakunode2
retention-days: 2

test-v2:
needs: changes
if: ${{ needs.changes.outputs.v2 == 'true' || needs.changes.outputs.common == 'true' }}
Expand Down Expand Up @@ -177,3 +184,16 @@ jobs:

- name: Run tests
run: make V=1 LOG_LEVEL=DEBUG QUICK_AND_DIRTY_COMPILER=1 test1

build-docker-image:
needs: build-v2
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Download artifacts
uses: actions/download-artifact@v2

- name: Build
run: |
docker build -t quay.io/waku/nwaku:pr-${{ github.event.pull_request.number }} -f Dockerfile.binary .

0 comments on commit 710be04

Please sign in to comment.