mirror of
https://gitlab.sectorq.eu/jaydee/registry-utils.git
synced 2025-12-14 10:44:52 +01:00
lala
This commit is contained in:
@@ -71,7 +71,7 @@ def push_to_registry(data):
|
|||||||
cmnd = f"docker tag {d[0]} {local_registry}{d[0]}"
|
cmnd = f"docker tag {d[0]} {local_registry}{d[0]}"
|
||||||
input(cmnd)
|
input(cmnd)
|
||||||
#status, output = subprocess.getstatusoutput(cmnd)
|
#status, output = subprocess.getstatusoutput(cmnd)
|
||||||
cmnd = f"docker push {local_registry}{d[0]} {local_registry}{d[0]}"
|
cmnd = f"docker push {local_registry}{d[0]}"
|
||||||
input(cmnd)
|
input(cmnd)
|
||||||
# status, output = subprocess.getstatusoutput(cmnd)
|
# status, output = subprocess.getstatusoutput(cmnd)
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ def push_to_registry(data):
|
|||||||
cmnd = f"docker tag {d[0]}:{d[1]} {local_registry}{d[0]}:{d[1]}"
|
cmnd = f"docker tag {d[0]}:{d[1]} {local_registry}{d[0]}:{d[1]}"
|
||||||
input(cmnd)
|
input(cmnd)
|
||||||
#status, output = subprocess.getstatusoutput(cmnd)
|
#status, output = subprocess.getstatusoutput(cmnd)
|
||||||
cmnd = f"docker push {local_registry}{d[0]}:{d[1]} {local_registry}{d[0]}:{d[1]}"
|
cmnd = f"docker push {local_registry}{d[0]}:{d[1]}"
|
||||||
input(cmnd)
|
input(cmnd)
|
||||||
#status, output = subprocess.getstatusoutput(cmnd)
|
#status, output = subprocess.getstatusoutput(cmnd)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user