From 96163b04e3e0a60d2644e4b2c454696dc3b81e1c Mon Sep 17 00:00:00 2001 From: Haroon Khel <34969545+Haroon-Khel@users.noreply.github.com> Date: Thu, 1 Aug 2024 19:29:10 +0800 Subject: [PATCH] docker: Docker image tag must be lowercase (#3681) --- .../roles/deploy_container/tasks/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/deploy_container/tasks/deploy.yml b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/deploy_container/tasks/deploy.yml index 522eb6ffa7..697724ad77 100644 --- a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/deploy_container/tasks/deploy.yml +++ b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/deploy_container/tasks/deploy.yml @@ -9,7 +9,7 @@ - name: Set docker buildx command if building arm32 container set_fact: docker_build_command: "docker buildx build --platform linux/v7/arm" - arm32_suffix: ".ARM32" + arm32_suffix: ".arm32" ansible_architecture: arm docker_run_command: "docker run --platform linux/v7/arm" when: build_arm32 is defined and build_arm32 == "yes" @@ -53,4 +53,4 @@ when: not (docker_port_output.stdout == "") - name: Run {{ docker_image }} docker container - command: "{{ docker_run_command }} --restart unless-stopped -p {{ docker_port }}:22 --cpuset-cpus='0-3' --memory=6G --detach --name {{ docker_image | upper }}.{{ docker_port }}{{ arm32_suffix }} aqa_{{ docker_image }}{{ arm32_suffix }}" + command: "{{ docker_run_command }} --restart unless-stopped -p {{ docker_port }}:22 --cpuset-cpus='0-3' --memory=6G --detach --name {{ docker_image | upper }}.{{ docker_port }}{{ arm32_suffix | upper }} aqa_{{ docker_image }}{{ arm32_suffix }}"