-
Notifications
You must be signed in to change notification settings - Fork 8
35 lines (31 loc) · 1.1 KB
/
jupyter-matlab-notebook.yaml
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
# Copyright 2024 The MathWorks, Inc.
# Build & Publish jupyter-matlab-notebook
name: jupyter-matlab-notebook
# Define when builds will occur:
on:
# Run workflow when there is a push to the 'main' branch & push includes changes to any files in described path
push:
branches:
- 'main'
paths:
- 'Dockerfile'
- '.github/workflows/**'
# Run at 00:00 on every Monday (1st Day of the Week) (See: crontab.guru)
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
build-and-publish-docker-image:
strategy:
fail-fast: false
matrix:
matlab_release_tag: [R2024b, R2024a, R2023b, R2023a, R2022b]
uses: ./.github/workflows/build-and-publish-docker-image.yml
secrets: inherit
with:
docker_build_context: '.'
base_image_name: ghcr.io/${{ github.repository }}/jupyter-matlab-notebook
os_info_tag: 'ubuntu22.04'
matlab_release_tag: ${{ matrix.matlab_release_tag }}
is_default_os: true
build_args: '["MATLAB_RELEASE=${{ matrix.matlab_release_tag }}", "INSTALL_VNC=1", "INSTALL_MATLABENGINE=1", "MOUNT_MATLAB=1"]'