Skip to content

Commit 1d846f5

Browse files
committed
Fix
1 parent 74accd2 commit 1d846f5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/docker-quorum.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ 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.sha }}" >> "${GITHUB_ENV}"
36+
echo "IMAGE_TAG=${{ github.ref }}" >> "${GITHUB_ENV}"
3737
- name: Log in to the Container registry
3838
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
3939
with:
@@ -46,9 +46,7 @@ jobs:
4646
with:
4747
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4848
tags: |
49-
type=raw,value=${{ env.IMAGE_TAG }},event=tag
50-
type=ref,event=tag
51-
type=ref,event=pr
49+
type=raw,value=${{ env.IMAGE_TAG }}
5250
- name: Build and push server docker image
5351
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
5452
with:

0 commit comments

Comments
 (0)