Update to .NET SDK v8.0.401/.NET 8.0.8 #45
Workflow file for this run
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: ci | |
on: | |
push: | |
branches: | |
- main | |
- dotnet8 | |
tags: | |
- 'v*' | |
jobs: | |
docker: | |
name: Docker Build and Publish | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
# This is used to complete the identity challenge | |
# with sigstore/fulcio when running outside of PRs. | |
id-token: write | |
steps: | |
- name: Prepare | |
id: prep | |
run: | | |
echo "datetag=$(date -u +'%Y%m%d')" >> "$GITHUB_OUTPUT" | |
echo "created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> "$GITHUB_OUTPUT" | |
- name: Set up Docker Buildx | |
uses: docker/[email protected] | |
# Login against a Docker registry except on PR | |
# https://github.com/docker/login-action | |
- name: Log into registry ghcr.io | |
uses: docker/[email protected] | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push minimal-dotnet | |
id: docker_build_minimal | |
uses: docker/[email protected] | |
with: | |
push: true | |
build-args: base_image=quay.io/jupyter/minimal-notebook | |
tags: ghcr.io/pocki/jupyter-dotnet:minimal-dotnet8-latest, ghcr.io/pocki/jupyter-dotnet:minimal-dotnet8-${{ steps.prep.outputs.datetag }}, ghcr.io/pocki/jupyter-dotnet:minimal-dotnet8-${{ github.ref_name }} | |
labels: | | |
type: minimal | |
org.opencontainers.image.title=Jupyter .NET (minimal) | |
org.opencontainers.image.source=${{ github.event.repository.html_url }} | |
org.opencontainers.image.created=${{ steps.prep.outputs.created }} | |
org.opencontainers.image.revision=${{ github.sha }} | |
platforms: linux/amd64 | |
- name: Image digest minimal-dotnet | |
run: echo ${{ steps.docker_build_minimal.outputs.digest }} | |
- name: Build and push scipy-dotnet | |
id: docker_build_scipy | |
uses: docker/[email protected] | |
with: | |
push: true | |
build-args: base_image=quay.io/jupyter/scipy-notebook | |
tags: ghcr.io/pocki/jupyter-dotnet:scipy-dotnet8-latest, ghcr.io/pocki/jupyter-dotnet:scipy-dotnet8-${{ steps.prep.outputs.datetag }}, ghcr.io/pocki/jupyter-dotnet:scipy-dotnet8-${{ github.ref_name }} | |
labels: | | |
type: scipy | |
org.opencontainers.image.title=Jupyter .NET (SciPy) | |
org.opencontainers.image.source=${{ github.event.repository.html_url }} | |
org.opencontainers.image.created=${{ steps.prep.outputs.created }} | |
org.opencontainers.image.revision=${{ github.sha }} | |
platforms: linux/amd64 | |
- name: Image digest scipy-dotnet | |
run: echo ${{ steps.docker_build_scipy.outputs.digest }} | |
- name: Build and push r-dotnet | |
id: docker_build_r | |
uses: docker/[email protected] | |
with: | |
push: true | |
build-args: base_image=quay.io/jupyter/r-notebook | |
tags: ghcr.io/pocki/jupyter-dotnet:r-dotnet8-latest, ghcr.io/pocki/jupyter-dotnet:r-dotnet8-${{ steps.prep.outputs.datetag }}, ghcr.io/pocki/jupyter-dotnet:r-dotnet8-${{ github.ref_name }} | |
labels: | | |
type: r | |
org.opencontainers.image.title=Jupyter .NET (R) | |
org.opencontainers.image.source=${{ github.event.repository.html_url }} | |
org.opencontainers.image.created=${{ steps.prep.outputs.created }} | |
org.opencontainers.image.revision=${{ github.sha }} | |
platforms: linux/amd64 | |
- name: Image digest r-dotnet | |
run: echo ${{ steps.docker_build_r.outputs.digest }} |