Skip to content

Commit

Permalink
Merge pull request #954 from manics/gh-workflow-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
betatim authored Sep 8, 2020
2 parents f45d84b + c32ce86 commit f0c6f65
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docker build

on:
- push
- pull_request

jobs:
docker:
runs-on: ubuntu-18.04
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

# https://github.com/docker/build-push-action
- name: Build Docker image
uses: docker/build-push-action@v1
with:
repository: jupyter/repo2docker
tags: pr
push: false

- name: Run repo2docker Docker image
run: docker run jupyter/repo2docker:pr repo2docker --version

0 comments on commit f0c6f65

Please sign in to comment.