Fix typo in CI image build, simplify step (#142)

This commit is contained in:
Roy Crihfield 2023-09-01 00:55:10 +08:00 committed by GitHub
parent 9196c449f0
commit 29c5d04159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 . \