From 4ec1538f9d9ea77caaab9c315568c37d0d2dce2f Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Thu, 17 Oct 2024 13:40:55 +1000 Subject: [PATCH] Add ci to check gitpod docker builds (#336) * Add ci to check gitpod docker builds * rename --- .github/workflows/gitpod.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/gitpod.yml diff --git a/.github/workflows/gitpod.yml b/.github/workflows/gitpod.yml new file mode 100644 index 00000000..fede175a --- /dev/null +++ b/.github/workflows/gitpod.yml @@ -0,0 +1,26 @@ +name: Gitpod + +on: + push: + branches: [main, dev] + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }} + cancel-in-progress: true + +jobs: + + complete: + if: always() + needs: [build-image] + runs-on: ubuntu-latest + steps: + - if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') + run: exit 1 + + build-image: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: docker build -f .gitpod.Dockerfile .