From aa957a0f07f261cf4dd899a24d807b598211f314 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Wed, 30 Sep 2020 21:47:31 -0600 Subject: [PATCH] testing building slim and current default. --- .github/workflows/default.yml | 28 ++++++++++++++++++++++++++++ .github/workflows/slim.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 .github/workflows/default.yml create mode 100644 .github/workflows/slim.yml diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml new file mode 100644 index 0000000..fd1dc43 --- /dev/null +++ b/.github/workflows/default.yml @@ -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 diff --git a/.github/workflows/slim.yml b/.github/workflows/slim.yml new file mode 100644 index 0000000..ca97691 --- /dev/null +++ b/.github/workflows/slim.yml @@ -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-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