mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 23:12:56 +00:00
Actually build image and uplad as artifact
This commit is contained in:
14
.github/workflows/build-docker.yml
vendored
14
.github/workflows/build-docker.yml
vendored
@@ -56,6 +56,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo ⚡️
|
- name: Checkout Repo ⚡️
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Run custom action
|
- name: Create dev environment 📦
|
||||||
# Use the location in the repository (without action.yml)
|
# Use the location in the repository (without action.yml)
|
||||||
uses: ./.github/actions/create-dev-env
|
uses: ./.github/actions/create-dev-env
|
||||||
|
- name: Build image 🛠
|
||||||
|
uses: docker/build-push-action@v3
|
||||||
|
with:
|
||||||
|
context: base-notebook/
|
||||||
|
file: base-notebook/Dockerfile
|
||||||
|
tags: jupyter/base-notebook:latest
|
||||||
|
outputs: type=docker,dest=/tmp/image.tar
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: myimage
|
||||||
|
path: /tmp/myimage.tar
|
||||||
|
Reference in New Issue
Block a user