Skip to content

Commit

Permalink
Add workflow to build Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Sep 8, 2020
1 parent f45d84b commit d7d855c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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
push: false

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

0 comments on commit d7d855c

Please sign in to comment.