Skip to content

jupyter-matlab-notebook #2

jupyter-matlab-notebook

jupyter-matlab-notebook #2

# 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"]'