Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building slim and current default. #31

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This is a basic workflow to help you get started with Actions

name: Docker Build (default)

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master, docker-swarm ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
docker-default:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Generate Dockerfile
run: ./generate-Dockerfile.sh

- name: Build Image
run: docker build -t gpu-jupyter .build/ # will take a while

- name: Quickstart Entrypoint Script
run: ./start-local.sh -p 8848
58 changes: 0 additions & 58 deletions .github/workflows/main.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/slim.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# This is a basic workflow to help you get started with Actions

name: Docker Build (slim)

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master, docker-swarm ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
docker-slim:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Generate Dockerfile
run: ./generate-Dockerfile.sh --slim

- name: Build Image
run: docker build -t gpu-jupyter .build/ # will take a while

- name: Quickstart Entrypoint Script
run: ./start-local.sh -p 8848