Skip to content

update jupyter-matlab-proxy, created lock file #12

update jupyter-matlab-proxy, created lock file

update jupyter-matlab-proxy, created lock file #12

Workflow file for this run

name: Build and push Docker image
on:
push:
release:
types: [published]
jobs:
build-and-push-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Set Job Environment Variables"
run: |
SHA7="${GITHUB_SHA::7}"
DOCKER_TAG=$SHA7
echo "RELEASE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
echo "DOCKER_TAG=${DOCKER_TAG}" >> $GITHUB_ENV
echo "MATLAB_PRODUCTS=`cat ci/MATLAB_TOOLBOXES.txt`" >> $GITHUB_ENV
- name: "Set up QEMU"
uses: docker/setup-qemu-action@v2
- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v2
- name: "Login to Docker Hub"
uses: docker/login-action@v2
with:
username: openscapes
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Build and push"
uses: docker/build-push-action@v4
with:
context: ci
push: true
build-args: |
MATLAB_PRODUCT_LIST=${{ env.MATLAB_PRODUCTS }}
tags: openscapes/matlab:latest, openscapes/matlab:${{ env.RELEASE_DATE }}