mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-06 21:47:45 +00:00
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:
@@ -136,7 +136,7 @@ if ! tilt_mode; then
|
||||
tag=$(uuidgen) # always a new tag to force K8s to reload the image on redeploy
|
||||
|
||||
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
|
||||
tag="$most_recent_tag"
|
||||
do_build=no
|
||||
|
||||
Reference in New Issue
Block a user