Remote tag check
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 53s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m59s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 6m55s
Deploy Test / Run deploy test suite (pull_request) Successful in 7m0s
Smoke Test / Run basic test suite (pull_request) Successful in 3m38s
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 53s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m59s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 6m55s
Deploy Test / Run deploy test suite (pull_request) Successful in 7m0s
Smoke Test / Run basic test suite (pull_request) Successful in 3m38s
This commit is contained in:
parent
a408d24905
commit
f06b5ec6a2
@ -33,12 +33,9 @@ def remote_image_exists(local_tag: str, remote_repo_url: str):
|
|||||||
docker = DockerClient()
|
docker = DockerClient()
|
||||||
try:
|
try:
|
||||||
remote_tag = remote_tag_for_image(local_tag, remote_repo_url)
|
remote_tag = remote_tag_for_image(local_tag, remote_repo_url)
|
||||||
print(f"local tag: {local_tag} ; remote tag: {remote_tag}")
|
|
||||||
result = docker.manifest.inspect(remote_tag)
|
result = docker.manifest.inspect(remote_tag)
|
||||||
print(result)
|
|
||||||
return True if result else False
|
return True if result else False
|
||||||
except Exception as e: # noqa: E722
|
except Exception as e: # noqa: E722
|
||||||
print(e)
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user