From 1e6ccbadc93b31bddeda567d9910d4d2accf9e93 Mon Sep 17 00:00:00 2001 From: smf Date: Thu, 23 May 2024 18:21:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0env=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish_docker.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/publish_docker.yml b/.github/workflows/publish_docker.yml index 8b2b9aa..f08fbb8 100644 --- a/.github/workflows/publish_docker.yml +++ b/.github/workflows/publish_docker.yml @@ -33,6 +33,14 @@ on: required: false type: string default: ${{ github.repository }} + base_image: + required: false + type: string + default: 'scipy-notebook' + base_image_version: + required: false + type: string + default: 'lab-4.1.5' jobs: publish-docker-image: @@ -95,6 +103,8 @@ jobs: https_proxy=${{ inputs.http_proxy }} version=${{ steps.meta.outputs.version }} registry=${{ secrets.REGISTRY_HOST }} + BaseImage=${{ inputs.base_image }} + BaseImageVersion=${{ inputs.base_image_version }} context: ${{ inputs.docker_context }} file: ${{ inputs.dockerfile_path }} platforms: ${{ inputs.platforms }}