From d1718e888bdbedc5dd179d3c1a791627c9faa117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Caiado=20da=20Silva?= Date: Fri, 8 Mar 2024 20:56:14 +0000 Subject: [PATCH] set short sha length to 7 chars --- .github/workflows/CI-CD.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI-CD.yml b/.github/workflows/CI-CD.yml index 0aba4db..274a6bb 100644 --- a/.github/workflows/CI-CD.yml +++ b/.github/workflows/CI-CD.yml @@ -39,8 +39,8 @@ jobs: echo "Setting TAG_VERSION to ${{ github.event.release.tag_name }}" echo "TAG_VERSION=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT" else - echo "Setting TAG_VERSION to `echo ${{ github.sha }} | cut -c1-8`" - echo "TAG_VERSION=`echo ${{ github.sha }} | cut -c1-8`" >> "$GITHUB_OUTPUT" + echo "Setting TAG_VERSION to `echo ${{ github.sha }} | cut -c1-7`" + echo "TAG_VERSION=`echo ${{ github.sha }} | cut -c1-7`" >> "$GITHUB_OUTPUT" fi - name: Set push image id: set-push-image