-
Notifications
You must be signed in to change notification settings - Fork 4
89 lines (77 loc) · 2.8 KB
/
build-datascience-images-template.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Jupyter datascience build images template
on:
workflow_call:
inputs:
python_dev_tag:
description: Tag to use for latest base images (foundation, minimal, etc)
required: true
type: string
publish_to_registry:
description: Wheter to push to the registry
required: false
type: string
default: "false"
registry:
description: The list of tags space separated values
required: false
type: string
git_latest_release_tag:
description: The latest remote release tag
required: false
type: string
default: ""
runs-on:
description: GitHub Actions Runner image
required: true
type: string
jobs:
r:
uses: ./.github/workflows/build-image-template.yml
with:
parent-image: minimal-notebook:${{ inputs.python_dev_tag }}
image: r-notebook:${{ inputs.python_dev_tag }}
registry: ${{ inputs.registry }}
publish_to_registry: ${{ inputs.publish_to_registry }}
git_latest_release_tag: ${{ inputs.git_latest_release_tag }}
runs-on: ${{ inputs.runs-on }}
secrets: inherit
datascience:
uses: ./.github/workflows/build-image-template.yml
with:
parent-image: scipy-notebook:${{ inputs.python_dev_tag }}
image: datascience-notebook:${{ inputs.python_dev_tag }}
registry: ${{ inputs.registry }}
publish_to_registry: ${{ inputs.publish_to_registry }}
git_latest_release_tag: ${{ inputs.git_latest_release_tag }}
runs-on: ${{ inputs.runs-on }}
secrets: inherit
# julia:
# uses: ./.github/workflows/build-image-template.yml
# with:
# parent-image: minimal-notebook:${{ inputs.python_dev_tag }}
# image: julia-notebook
# registry: ${{ inputs.registry }}
# publish_to_registry: ${{ inputs.publish_to_registry }}
# git_latest_release_tag: ${{ inputs.git_latest_release_tag }}
# runs-on: ${{ inputs.runs-on }}
# secrets: inherit
# tensorflow:
# uses: ./.github/workflows/build-image-template.yml
# with:
# parent-image: scipy-notebook:${{ inputs.python_dev_tag }}
# image: tensorflow-notebook
# registry: ${{ inputs.registry }}
# publish_to_registry: ${{ inputs.publish_to_registry }}
# git_latest_release_tag: ${{ inputs.git_latest_release_tag }}
# runs-on: ${{ inputs.runs-on }}
# secrets: inherit
# pytorch:
# uses: ./.github/workflows/build-image-template.yml
# with:
# parent-image: scipy-notebook:${{ inputs.python_dev_tag }}
# image: pytorch-notebook
# registry: ${{ inputs.registry }}
# publish_to_registry: ${{ inputs.publish_to_registry }}
# git_latest_release_tag: ${{ inputs.git_latest_release_tag }}
# runs-on: ${{ inputs.runs-on }}
# secrets: inherit