Skip to content

Commit

Permalink
Update docker_manifests_merge.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MyroTk authored May 9, 2024
1 parent e8a9820 commit 63e4cd9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/ci/docker_manifests_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,13 @@ def enrich_images(changed_images: Dict[str, str]) -> None:
def main():
logging.basicConfig(level=logging.INFO)
stopwatch = Stopwatch()

docker_user = os.getenv("DOCKERHUB_USERNAME")
docker_pass = os.getenv("DOCKERHUB_PASSWORD")
args = parse_args()
if args.push:
subprocess.check_output( # pylint: disable=unexpected-keyword-arg
"docker login --username 'altinityinfra' --password-stdin",
input=get_parameter_from_ssm("dockerhub-password"),
f"docker login --username '{docker_user}' --password-stdin",
input=docker_pass,
encoding="utf-8",
shell=True,
)
Expand Down

0 comments on commit 63e4cd9

Please sign in to comment.