Skip to content

.NET8 initial, include latest samples #24

.NET8 initial, include latest samples

.NET8 initial, include latest samples #24

name: ci
on:
push:
branches: [ dotnet8 ]

Check failure on line 6 in .github/workflows/docker-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docker-publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
jobs:
docker:
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 ::set-output name=datetag::$(date -u +'%Y%m%d')
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/[email protected]
with:
registry: ${{ env.REGISTRY }}
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=jupyter/minimal-notebook
tags: pocki/jupyter-dotnet/minimal-dotnet8:latest, pocki/jupyter-dotnet/minimal-dotnet8:${{ steps.prep.outputs.datetag }}
labels: |
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=jupyter/scipy-notebook
tags: pocki/jupyter-dotnet/scipy-dotnet8:latest, pocki/jupyter-dotnet/scipy-dotnet8:${{ steps.prep.outputs.datetag }}
labels: |
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=jupyter/r-notebook
tags: pocki/jupyter-dotnet/r-dotnet8:latest, pocki/jupyter-dotnet/r-dotnet8:${{ steps.prep.outputs.datetag }}
labels: |
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 }}