Skip to content

Publish Notebook

Publish Notebook #8

Workflow file for this run

name: Publish Notebook
on:
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v4
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: ./Notebook.Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/notebook:latest
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/notebook:latest
cache-to: type=inline