Skip to content

Commit

Permalink
Add ci to check gitpod docker builds (#336)
Browse files Browse the repository at this point in the history
* Add ci to check gitpod docker builds

* rename
  • Loading branch information
leighmcculloch authored Oct 17, 2024
1 parent a9f87ba commit 4ec1538
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/gitpod.yml
Original file line number Diff line number Diff line change
@@ -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 .

0 comments on commit 4ec1538

Please sign in to comment.