From 3504ec682087aa247247b22bb0a553a1c8824224 Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Thu, 31 Aug 2023 23:39:48 +0800 Subject: [PATCH] Fix typo in CI image build, simplify step --- .github/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 48f5462..1880d0e 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -11,8 +11,8 @@ jobs: - id: vars name: Output SHA and version tag run: | - echo sha=$(echo ${GITHUB_SHA:0:7}) >> "$GITHUB_OUTPUT" - echo tag=$(echo ${GITHUB_REF#refs/tags/}) >> "$GITHUB_OUTPUT"" + echo "sha=${GITHUB_SHA:0:7}" >> $GITHUB_OUTPUT + echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT - name: Build and tag image run: | docker build . \