-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (30 loc) · 983 Bytes
/
binder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Build Notebook Container
on:
push:
workflow_dispatch:
concurrency:
group: latest-repo2docker-group
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
name: Run repo2docker
permissions:
contents: write
packages: write
steps:
- name: checkout files in repo
uses: actions/checkout@v4
- name: downcase repository name
run: |
echo "REPO=${GITHUB_REPOSITORY,,}" >>${GITHUB_ENV}
# revert to jupyterhub/repo2docker-action once this is fixed: https://github.com/jupyterhub/repo2docker-action/pull/101
- name: update jupyter dependencies with repo2docker
uses: wragge/repo2docker-action@master
with:
DOCKER_USERNAME: ${{ github.actor }}
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
DOCKER_REGISTRY: ghcr.io
IMAGE_NAME: ${{ env.REPO }}
BINDER_CACHE: true
PUBLIC_REGISTRY_CHECK: true