Skip to content

Commit cfb5503

Browse files
authored
Fix GitHub SHA substring syntax in CI workflow
1 parent 61fc674 commit cfb5503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ jobs:
101101
--platform linux/amd64,linux/arm64 \
102102
-f docker/Dockerfile.CI \
103103
-t public.ecr.aws/umcai/xc2f/payload:latest \
104-
-t public.ecr.aws/umcai/xc2f/payload:${{ github.sha::7 }} \
104+
-t public.ecr.aws/umcai/xc2f/payload:${{ github.sha.substr(0, 7) }} \
105105
--push \
106106
.

0 commit comments

Comments
 (0)