Skip to content

Commit

Permalink
Update repo2docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
t-schn authored Aug 5, 2024
1 parent c374161 commit 41b2e3e
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/repo2docker.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
name: Build docker image and publish
on: push
name: Publish on MyBinder
on: [push]

jobs:
binder:
Create-MyBinderOrg-Cache:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: update jupyter dependencies with repo2docker
- name: cache binder build on mybinder.org
uses: jupyterhub/repo2docker-action@master
with:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
BINDER_CACHE: true
PUBLIC_REGISTRY_CHECK: true
NO_PUSH: true
MYBINDERORG_TAG: ${{ github.event.ref }}

0 comments on commit 41b2e3e

Please sign in to comment.