Update docker-publish.yml

This commit is contained in:
Maxim Slipenko 2023-09-29 16:40:29 +03:00 committed by GitHub
parent 4f86f7fa28
commit f4286773f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ name: ci
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
base-image: base_image:
description: 'Base Node image' description: 'Base Node image'
required: true required: true
default: '20-alpine' default: '20-alpine'
@ -36,5 +36,8 @@ jobs:
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
build-args: |
VERCEL_VERSION=${{ github.event.inputs.version }}
BASE_IMAGE=${{ github.event.inputs.base_image }}
push: true push: true
tags: ${{ vars.DOCKER_IMAGE_NAME }}:latest tags: ${{ vars.DOCKER_IMAGE_NAME }}:latest