We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d846f5 commit 4a6c9ecCopy full SHA for 4a6c9ec
.github/workflows/docker-quorum.yml
@@ -33,7 +33,8 @@ jobs:
33
- name: Set image tag to the git commit hash
34
if: ${{ !startsWith(github.ref, 'refs/tags/quorum-v') }}
35
run: |
36
- echo "IMAGE_TAG=${{ github.ref }}" >> "${GITHUB_ENV}"
+ SHORT_SHA=$(echo "${GITHUB_SHA}" | cut -c1-7)
37
+ echo "IMAGE_TAG=sha-${SHORT_SHA}" >> "${GITHUB_ENV}"
38
- name: Log in to the Container registry
39
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
40
with:
0 commit comments