Skip to content

Commit bf25c41

Browse files
committed
fix infra build
1 parent aa6d648 commit bf25c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-infra.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
if [[ "${{ github.ref_type }}" == "tag" ]]; then
6161
if [[ "${{ github.ref_name }}" == infra-*-* ]]; then
6262
env=$(echo ${{ github.ref_name }} | cut -d- -f2)
63-
sha=${${{ github.sha }}::7}
63+
sha=$(echo ${{ github.sha }} | head -c7)
6464
ts=$(date +%s)
6565
image_tag=${env}-${sha}-${ts}
6666
elif [[ "${{ github.ref_name }}" == v.docker.* ]]; then

0 commit comments

Comments
 (0)