From 9acd5820eff5cdbd7bae19869d7365fed50699ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Wed, 30 Oct 2024 10:39:20 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8937441..fb09dec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,15 +31,13 @@ jobs: - name: Set tags name id: gen_tag_name env: - PRETAGNAME: ${{ env.TEST_TAG }}-${{ matrix.platform }} + IMAGE_NAME: ${{ env.TEST_TAG }} + PLATFORM_NAME: ${{ matrix.platform }} run: | - echo "TAGNAME=${PRETAGNAME/\//-}" >> $GITHUB_OUTPUT - echo ${TAGNAME} + echo "TAGNAME=${IMAGE_NAME}-${PLATFORM_NAME/\///-}" >> >> $GITHUB_ENV - name: Build Docker image uses: docker/build-push-action@v6 - env: - TAGNAME: ${{ steps.gen_tag_name.outputs.TAGNAME }} with: platforms: ${{ matrix.platform }} context: .