Refactor derivative operator creation with factory function (#115) #83
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 Notebook Container | |
on: | |
push: | |
branches: | |
- master | |
- release/* | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Run repo2docker | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: checkout files in repo | |
uses: actions/checkout@v3 | |
- name: downcase repository name | |
run: | | |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV} | |
- name: update jupyter dependencies with repo2docker | |
uses: jupyterhub/repo2docker-action@master | |
with: | |
DOCKER_USERNAME: ${{ github.repository_owner }} | |
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
DOCKER_REGISTRY: ghcr.io | |
MYBINDERORG_TAG: ${{ github.event.ref }} | |
IMAGE_NAME: ${{ env.REPO }} | |
PUBLIC_REGISTRY_CHECK: true |