File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ jobs:
194194 if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
195195
196196 - name : Install gofumpt
197- run : go install mvdan.cc/gofumpt@latest
197+ run : go install mvdan.cc/gofumpt@v0.8.0
198198 if : ${{ needs.checks.outputs.binary_cache_hit != 'true' }}
199199
200200 - name : Check if telemetry schema changed
Original file line number Diff line number Diff line change @@ -4,20 +4,20 @@ git_tag=$1
44docker_tag=edge
55
66git_commit=$( git rev-parse HEAD)
7- commit_tag=$( git describe --exact-match ${git_commit} 2> /dev/null)
7+ commit_tag=$( git describe --exact-match " ${git_commit} " 2> /dev/null)
88
9- if [[ ${commit_tag} == ${git_tag} ]]; then
9+ if [[ ${commit_tag} == " ${git_tag} " ]]; then
1010 # we're on the exact commit of the tag, use the docker image for the tag
1111 docker_tag=${git_tag// v/ }
12- echo ${docker_tag}
12+ echo " ${docker_tag} "
1313 exit 0
1414
1515else
1616 # we're on a random commit, pull the 'edge' docker image to compare commits
1717 # if it's the latest commit from 'main' the SHA will match the 'revision' of the 'edge' docker image
1818 docker pull nginx/nginx-ingress:${docker_tag} > /dev/null 2>&1
1919 DOCKER_SHA=$( docker inspect --format ' {{ index .Config.Labels "org.opencontainers.image.revision" }}' nginx/nginx-ingress:${docker_tag} )
20- if [[ ${DOCKER_SHA} == ${git_commit} ]]; then
20+ if [[ ${DOCKER_SHA} == " ${git_commit} " ]]; then
2121 # we're on the same commit as the latest edge
2222 echo ${docker_tag}
2323 exit 0
You can’t perform that action at this time.
0 commit comments