File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4040
4141 echo "::set-output name=ACTION_RUN_URL::https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
4242 echo "::set-output name=ACTION_WORKFLOW_URL::https://github.com/${{github.repository}}/actions/workflows/${{github.action}}.yml"
43+ echo "::set-output name=DOCKER_VERSION::$(cat Dockerfile | grep "cloudkats/k8s-test-tools" | tr ":" " " | awk '{print $3}')"
4344
4445 echo ::set-output name=version::${VERSION}
4546 echo ::set-output name=tag_date::$(date -u +'%Y-%m-%d')
5657 TAG_VERSION : ${{ steps.prep.outputs.version }}
5758 CREATED : ${{ steps.prep.outputs.tag_date }}
5859 BUILD_URL : ${{ steps.prep.outputs.action_run_url }}
60+ IMAGE_VERSION : ${{ steps.prep.outputs.docker_version }}
5961 run : |
6062 ../bin/build.sh
61- IMAGE_VERSION=$(docker run --rm ${IMAGE} "kubectl version --short --client=true" | awk '{print $3}' | sed -e 's/^v//')
63+ # IMAGE_VERSION=$(docker run --rm ${IMAGE} "kubectl version --short --client=true" | awk '{print $3}' | sed -e 's/^v//')
6264 ../bin/push.sh
6365
6466 - name : docker hub description
You can’t perform that action at this time.
0 commit comments