This commit is contained in:
		| @@ -91,7 +91,7 @@ steps: | ||||
|       - LATEST_VERSION=$(git tag --sort v:refname | grep '^v[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}$' | tail -n 1) | ||||
|       - git checkout $LATEST_VERSION | ||||
|       - printf $(git log -n 1 --pretty=%H) > ../commit_hash # we'll need this for the docker build | ||||
|       - GOLANG_IMG=$(yq read .drone.yml 'steps[0].image') | ||||
|       - GOLANG_IMG=$(yq eval .drone.yml 'steps[0].image') | ||||
|       - docker pull $GOLANG_IMG | ||||
|       - docker tag $GOLANG_IMG drone-builder:latest | ||||
|       - docker image rm $GOLANG_IMG | ||||
|   | ||||
		Reference in New Issue
	
	Block a user