Skip to content

Fixes bug that always built the same (default) image for all prebuilt… #3

Fixes bug that always built the same (default) image for all prebuilt…

Fixes bug that always built the same (default) image for all prebuilt… #3

# Copyright 2024 The MathWorks, Inc.
# Build & Publish jupyter-mounted-matlab-notebook
name: jupyter-mounted-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-mounted-matlab-notebook
os_info_tag: 'ubuntu22.04'
matlab_release_tag: ${{ matrix.matlab_release_tag }}
is_default_os: true
build_args_csv: MATLAB_RELEASE=${{ matrix.matlab_release_tag }},INSTALL_VNC=1,INSTALL_MATLABENGINE=1,MOUNT_MATLAB=1