From ff7b54e5bac909e7ef907a61d56507f06f871913 Mon Sep 17 00:00:00 2001 From: Pao Sheng Date: Wed, 3 Apr 2024 11:02:23 +0800 Subject: [PATCH] feature(ai-service): fix a wrong input name in the release image workflow (#70) --- .github/workflows/ai-service-release-image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ai-service-release-image.yaml b/.github/workflows/ai-service-release-image.yaml index f4575ee82..a7ba93478 100644 --- a/.github/workflows/ai-service-release-image.yaml +++ b/.github/workflows/ai-service-release-image.yaml @@ -19,7 +19,7 @@ jobs: - name: Prepare tag name id: tag-preparation run: | - if [ -n "${{ github.event.inputs.docker_image_tag_name }}" ]; then + if [ -n "${{ github.event.inputs.tag_name }}" ]; then tag_name=${{ github.event.inputs.tag_name }} else tag_name=commit-$(git log -1 --pretty=%h)