Skip to content

Commit 2dcfbd4

Browse files
committed
fix: correct syntax for Docker image tags to use the proper substring method
1 parent 32adea7 commit 2dcfbd4

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.substring(0,7) }}
39+
glapss/responcer:${{ github.sha::7) }}
4040
glapss/responcer:latest
4141
ghcr.io/${{ github.repository }}:latest
42-
ghcr.io/${{ github.repository }}:${{ github.sha.substring(0,7) }}
42+
ghcr.io/${{ github.repository }}:${{ github.sha::7) }}

0 commit comments

Comments
 (0)