Skip to content

Commit 32adea7

Browse files
committed
fix: shorten Docker image tags to first 7 characters of SHA
1 parent 3514a3f commit 32adea7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
push: true
3737
platforms: linux/amd64
3838
tags: |
39-
glapss/responcer:${{ github.sha }}
39+
glapss/responcer:${{ github.sha.substring(0,7) }}
4040
glapss/responcer:latest
4141
ghcr.io/${{ github.repository }}:latest
42-
ghcr.io/${{ github.repository }}:${{ github.sha }}
42+
ghcr.io/${{ github.repository }}:${{ github.sha.substring(0,7) }}

0 commit comments

Comments
 (0)