Automate rebuild of ui assets for Dependabot PRs #825
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- name: Start JupyterHub | |
run: | | |
jupyterhub -f jupyterhub_config.py & | |
docker compose build | |
docker compose up -d | |
# Give some time to start | |
sleep 10 | |
docker compose logs | |
working-directory: docker | |
- name: Build JHub Image | |
run: | | |
docker build -t jhub -f Dockerfile.jhub . | |
sleep 5 | |
working-directory: docker |