src/cmd-remote-build-container: remote unneeded `--remote` options
If CONTAINER_HOST env is set then this happens automatically.
@@ -20,7 +20,7 @@ def build_container_image(labels, gitURL, gitRef, repo, tag):
@param tag str image tag
@param time str expiration time for Quay images
'''
- cmd = ["podman", "--remote", "build", f"{gitURL}#{gitRef}", f"--tag={repo}:{tag}"]
+ cmd = ["podman", "build", f"{gitURL}#{gitRef}", f"--tag={repo}:{tag}"]
for label in labels:
cmd.extend([f"--label={label}"])
# Long running command. Send output to stdout for logging
@@ -33,7 +33,7 @@ def push_container_image(repo, tag):
@param repo str registry repository
@param tag str image tag
'''
- cmd = ["podman", "--remote", "push", f"{repo}:{tag}"]
+ cmd = ["podman", "push", f"{repo}:{tag}"]
# Long running command. Send output to stdout for logging
runcmd(cmd)
# Quay seems to take some time to publish images in some occasions.
@@ -60,7 +60,7 @@ def is_tag_in_podman_storage(repo, tag):
@param repo str registry repository
@param tag str image tag
'''
- cmd = ["podman", "--remote", "image", "exists", f"{repo}:{tag}"]
+ cmd = ["podman", "image", "exists", f"{repo}:{tag}"]
return runcmd(cmd, check=False, capture_output=True).returncode == 0
