Commit cda5b386 authored by DJ Mountney's avatar DJ Mountney
Browse files

Only push the kubectl tag for stable/tag branches in dev

This puts it inline with the other shared images we build, and makes it
safer for us to use this version in our chart.

Currently we use a checksum tag in the charts rather than the kubectl
verison, because the kubectl images was potentially being updated in dev
branches. This change should allow us to switch to using the more
readable version tag.
parent b75f8ced
......@@ -77,10 +77,8 @@ kubectl:
- build_if_needed --build-arg "KUBECTL_VERSION=${KUBECTL_VERSION}"
- if [ -n "$BUILDING_IMAGE" ]; then
- tag_and_push $KUBECTL_VERSION
- fi
- push_if_master_or_stable_or_tag
- push_if_master_or_stable_or_tag $KUBECTL_VERSION
<<: *job-base
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment