From f4286773f694a740e0199622b1d1d61e16e57c6b Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Fri, 29 Sep 2023 16:40:29 +0300 Subject: [PATCH] Update docker-publish.yml --- .github/workflows/docker-publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 802a4a5..19dbf38 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -3,7 +3,7 @@ name: ci on: workflow_dispatch: inputs: - base-image: + base_image: description: 'Base Node image' required: true default: '20-alpine' @@ -36,5 +36,8 @@ jobs: with: context: . platforms: linux/amd64,linux/arm64 + build-args: | + VERCEL_VERSION=${{ github.event.inputs.version }} + BASE_IMAGE=${{ github.event.inputs.base_image }} push: true tags: ${{ vars.DOCKER_IMAGE_NAME }}:latest