Skip to content

Update build-publish.yml #3

Update build-publish.yml

Update build-publish.yml #3

Workflow file for this run

name: Build and Publish Julia Kernelspec Docker Image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to GitHub Container Registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build Docker Image
run: |
docker build \
--file kernel-julia/gateway/kernelspec-image/Dockerfile \
--tag ghcr.io/${{ github.repository }}/julia-jeg-kernelspec:beta \
kernel-julia/gateway/kernelspec-image
- name: Push Docker Image
run: |
docker push ghcr.io/${{ github.repository }}/julia-jeg-kernelspec:beta