Skip to content

Commit

Permalink
add PR workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 9, 2024
1 parent 0e50d73 commit e0affb0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- cron: '0 6 * * 0'
# runs every day
# - cron: '0 6 * * *'
pull_request:
branches:
- main
push:
branches:
- main
Expand Down Expand Up @@ -52,12 +55,14 @@ jobs:
curl -s 'http://localhost:8010/ogc/test_project?service=WMS&request=GetCapabilities' | grep -ivq exception
- name: push
if: ${{ github.event_name != 'pull_request' }}
run: |
docker push qgis/${{ env.DOCKER_TAG }}:nightly
docker tag qgis/${{ env.DOCKER_TAG }}:nightly qgis/${{ env.DOCKER_TAG }}:latest
docker push qgis/${{ env.DOCKER_TAG }}:latest
build:
if: ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-latest
name: build
strategy:
Expand Down

0 comments on commit e0affb0

Please sign in to comment.