@@ -74,6 +74,7 @@ def cli():
74
74
def is_image_exist (image , tag ):
75
75
response = requests .get (
76
76
url = f"https://registry.hub.docker.com/v2/repositories/{ DOCKERHUB_ORG_NAME } /{ image } /tags/{ tag } " )
77
+ print (f"https://registry.hub.docker.com/v2/repositories/{ DOCKERHUB_ORG_NAME } /{ image } /tags/{ tag } response: { response .status_code } " )
77
78
return response .status_code == 200
78
79
79
80
@@ -126,11 +127,11 @@ def specify_image_tags(git_sha,
126
127
127
128
# evm_tag and evm_sha_tag
128
129
if evm_sha_tag :
129
- evm_sha_tag = evm_sha_tag
130
- evm_tag = evm_tag
130
+ evm_sha_tag_ = evm_sha_tag
131
+ evm_tag_ = evm_tag
131
132
else :
132
- evm_sha_tag = ""
133
- evm_tag = proxy_tag if is_image_exist ("evm_loader" , proxy_tag ) else default_evm_tag
133
+ evm_sha_tag_ = ""
134
+ evm_tag_ = proxy_tag if is_image_exist ("evm_loader" , proxy_tag ) else default_evm_tag
134
135
135
136
# faucet_tag
136
137
faucet_tag = proxy_tag if is_image_exist ("neon-faucet" , proxy_tag ) else default_faucet_tag
@@ -153,8 +154,8 @@ def specify_image_tags(git_sha,
153
154
proxy_sha_tag = proxy_sha_tag ,
154
155
proxy_pr_version_branch = proxy_pr_version_branch ,
155
156
is_proxy_release = is_proxy_release ,
156
- evm_tag = evm_tag ,
157
- evm_sha_tag = evm_sha_tag ,
157
+ evm_tag = evm_tag_ ,
158
+ evm_sha_tag = evm_sha_tag_ ,
158
159
faucet_tag = faucet_tag ,
159
160
neon_test_tag = neon_test_tag )
160
161
set_github_env (env )
0 commit comments