diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..bb14cff --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,18 @@ +name: Docker Image CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build the Docker image + run: docker build . --file Dockerfile --tag fmctweb:$(date +%s) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index ba1e3d8..4680ab8 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -2,9 +2,9 @@ name: Haskell CI on: push: - branches: [ publicDev ] + branches: [ main, staging, publicDev ] pull_request: - branches: [ publicDev ] + branches: [ main, staging, publicDev ] jobs: build: