We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa6d648 commit bf25c41Copy full SHA for bf25c41
.github/workflows/publish-infra.yml
@@ -60,7 +60,7 @@ jobs:
60
if [[ "${{ github.ref_type }}" == "tag" ]]; then
61
if [[ "${{ github.ref_name }}" == infra-*-* ]]; then
62
env=$(echo ${{ github.ref_name }} | cut -d- -f2)
63
- sha=${${{ github.sha }}::7}
+ sha=$(echo ${{ github.sha }} | head -c7)
64
ts=$(date +%s)
65
image_tag=${env}-${sha}-${ts}
66
elif [[ "${{ github.ref_name }}" == v.docker.* ]]; then
0 commit comments