diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5f5cb38..2d8f770 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,7 @@ jobs: password: ${{ steps.auth.outputs.access_token }} - name: Create Tag id: create-tag - run: echo ::set-output name=tag::$(echo ${{ github.sha }} | cut -c1-7) + run: echo 'tag=${github.sha:0:7}' >> $GITHUB_OUTPUT - name: Build and push uses: docker/build-push-action@v2 with: