Skip to content

Commit

Permalink
Update binder.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodr authored Feb 15, 2024
1 parent fe52ec8 commit 56d8286
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions .github/workflows/binder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,28 @@ concurrency:
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}
- name: checkout files in repo
uses: actions/checkout@v2

- name: update jupyter dependencies with repo2docker
uses: jupyterhub/repo2docker-action@master
with:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_REGISTRY: ghcr.io
MYBINDERORG_TAG: ${{ github.event.ref }}
PUBLIC_REGISTRY_CHECK: true
# 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

0 comments on commit 56d8286

Please sign in to comment.