hack: fix docker most recent tag check
I think this stopped working when we starting using a specific registry in e0b94f47
.
Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
parent
93ebd0f949
commit
93d25a349f
@ -136,7 +136,7 @@ if ! tilt_mode; then
|
|||||||
tag=$(uuidgen) # always a new tag to force K8s to reload the image on redeploy
|
tag=$(uuidgen) # always a new tag to force K8s to reload the image on redeploy
|
||||||
|
|
||||||
if [[ "$skip_build" == "yes" ]]; then
|
if [[ "$skip_build" == "yes" ]]; then
|
||||||
most_recent_tag=$(docker images "$repo" --format "{{.Tag}}" | head -1)
|
most_recent_tag=$(docker images "$registry/$repo" --format "{{.Tag}}" | head -1)
|
||||||
if [[ -n "$most_recent_tag" ]]; then
|
if [[ -n "$most_recent_tag" ]]; then
|
||||||
tag="$most_recent_tag"
|
tag="$most_recent_tag"
|
||||||
do_build=no
|
do_build=no
|
||||||
|
Loading…
Reference in New Issue
Block a user