forked from jupyter/docker-stacks
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (49 loc) · 1.44 KB
/
contributed-recipes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Test contributed recipes
on:
schedule:
# Images are rebuilt at 03:00 on Monday UTC
# So we're testing recipes one hour in advance
# They will also be tested after building images
- cron: "0 2 * * 1"
pull_request:
paths:
- ".github/workflows/contributed-recipes.yml"
- "docs/using/recipe_code/"
push:
branches:
- main
paths:
- ".github/workflows/contributed-recipes.yml"
- "docs/using/recipe_code/"
workflow_dispatch:
workflow_call:
jobs:
test-recipes:
runs-on: ubuntu-latest
if: github.repository == 'jupyter/docker-stacks'
steps:
- name: Checkout Repo ⚡️
uses: actions/checkout@v3
- name: Build recipe 🛠
run: docker build --rm --force-rm --tag my-custom-image -f ./${{ matrix.dockerfile }} ./
env:
DOCKER_BUILDKIT: 1
# Full logs for CI build
BUILDKIT_PROGRESS: plain
working-directory: docs/using/recipe_code
shell: bash
strategy:
matrix:
dockerfile:
[
custom_environment.dockerfile,
dask_jupyterlab.dockerfile,
jupyterhub_version.dockerfile,
mamba_install.dockerfile,
manpage_install.dockerfile,
microsoft_odbc.dockerfile,
pip_install.dockerfile,
spellcheck_notebookv6.dockerfile,
rise_jupyterlab.dockerfile,
xgboost.dockerfile,
]