mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-12 12:32:58 +00:00
Refactor
This commit is contained in:
2
.github/actions/load-image/action.yml
vendored
2
.github/actions/load-image/action.yml
vendored
@@ -15,13 +15,11 @@ runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Download built image 📥
|
||||
if: ${{ inputs.image != '' }}
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: ${{ inputs.image }}-${{ inputs.platform }}
|
||||
path: /tmp/
|
||||
- name: Load downloaded image to docker 📥
|
||||
if: ${{ inputs.image != '' }}
|
||||
run: |
|
||||
docker load --input /tmp/${{ inputs.image }}-${{ inputs.platform }}.tar
|
||||
docker image ls -a
|
||||
|
2
.github/workflows/sub-build-upload-image.yml
vendored
2
.github/workflows/sub-build-upload-image.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Create dev environment 📦
|
||||
uses: ./.github/actions/create-dev-env
|
||||
|
||||
- name: Download parent built image 📥
|
||||
- name: Load parent built image to docker 📥
|
||||
if: ${{ inputs.parentImage != '' }}
|
||||
uses: ./.github/actions/load-image
|
||||
with:
|
||||
|
4
.github/workflows/sub-tag-push-images.yml
vendored
4
.github/workflows/sub-tag-push-images.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
image: ${{fromJson(inputs.images)}}
|
||||
image: ${{ fromJson(inputs.images) }}
|
||||
|
||||
steps:
|
||||
- name: Checkout Repo ⚡️
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
- name: Create dev environment 📦
|
||||
uses: ./.github/actions/create-dev-env
|
||||
|
||||
- name: Download built image 📥
|
||||
- name: Load image to docker 📥
|
||||
uses: ./.github/actions/load-image
|
||||
with:
|
||||
image: ${{ matrix.image }}
|
||||
|
2
.github/workflows/sub-test-image.yml
vendored
2
.github/workflows/sub-test-image.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
- name: Create dev environment 📦
|
||||
uses: ./.github/actions/create-dev-env
|
||||
|
||||
- name: Download built image 📥
|
||||
- name: Load image to docker 📥
|
||||
uses: ./.github/actions/load-image
|
||||
with:
|
||||
image: ${{ inputs.image }}
|
||||
|
Reference in New Issue
Block a user