Skip to content

Commit 4a6c9ec

Browse files
committed
Fix
1 parent 1d846f5 commit 4a6c9ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker-quorum.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
- name: Set image tag to the git commit hash
3434
if: ${{ !startsWith(github.ref, 'refs/tags/quorum-v') }}
3535
run: |
36-
echo "IMAGE_TAG=${{ github.ref }}" >> "${GITHUB_ENV}"
36+
SHORT_SHA=$(echo "${GITHUB_SHA}" | cut -c1-7)
37+
echo "IMAGE_TAG=sha-${SHORT_SHA}" >> "${GITHUB_ENV}"
3738
- name: Log in to the Container registry
3839
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
3940
with:

0 commit comments

Comments
 (0)