From 71ce69e2547740d048d96def0af1a18fdc8453f4 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 7 Apr 2020 09:58:19 -0700 Subject: [PATCH] ci: add separate job to run docker build script so that it doesn't bitrot --- .github/workflows/main.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab9a132..f266fa2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: jobs: build: - name: Build + name: Native Build runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -44,3 +44,19 @@ jobs: # Upload the dist folder. Give it a name according to the OS it was built for. name: ${{ format( 'dist-{0}.tgz', matrix.os) }} path: dist + + dockerbuild: + name: Docker Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + with: + submodules: true + - name: Run docker_build script + run: ./docker_build.sh + - name: Upload artifacts + uses: actions/upload-artifact@v1 + with: + # Upload the dist folder. Give it a name according to the OS it was built for. + name: dist-docker.tgz + path: dist