Update build-publish.yml #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Publish Julia Kernelspec Docker Image | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-24.04 | |
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 |