Skip to content

Merge pull request #40 from fhswf/develop #36

Merge pull request #40 from fhswf/develop

Merge pull request #40 from fhswf/develop #36

name: Docker Image CI Jupyterhub Stable
on:
#schedule:
# - cron: '18 15 * * *'
push:
branches: [ "main" ]
tags: [ 'v*.*.*' ]
paths:
- 'jupyterhub/**'
- 'packages/**'
pull_request:
branches: [ "main" ]
jobs:
changes:
runs-on: ubuntu-latest
# Set job outputs to values from filter step
outputs:
jupyterhub: ${{ steps.filter.outputs.jupyterhub }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
base: main
filters: |
jupyterhub:
- 'jupyterhub/**'
- 'packages/**'
- '.github/workflows/ci-jupyterhub-stable.yml'
- '.github/workflows/reusable-docker-build-push.yml'
build-and-push-hub:
needs: changes
if: ${{ needs.changes.outputs.jupyterhub == 'true' || github.event_name == 'release' || startsWith(github.ref, 'refs/tags/v') || github.event_name == 'schedule'}}
uses: ./.github/workflows/reusable-docker-build-push.yml
with:
image: jupyterhub
folder: jupyterhub
## Note: for now there is no automated deployment for the live version
## trigger deployment manually after incrementing the version in the deployment repository