From c8a0b7e5c9bbb639e2da55e96112a32509246514 Mon Sep 17 00:00:00 2001 From: Julien Delasoie Date: Fri, 27 May 2022 11:34:12 +0200 Subject: [PATCH] Add a tag on Openshift image by WP version when promoting --- ansible/roles/wordpress-openshift-namespace/tasks/images.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/roles/wordpress-openshift-namespace/tasks/images.yml b/ansible/roles/wordpress-openshift-namespace/tasks/images.yml index e4641f80e..47b4feb93 100644 --- a/ansible/roles/wordpress-openshift-namespace/tasks/images.yml +++ b/ansible/roles/wordpress-openshift-namespace/tasks/images.yml @@ -74,6 +74,9 @@ local_action: module: shell cmd: | + oc tag wwp-test/wp-base:latest wwp-test/wp-base:{{ wp_version_lineage }} + oc tag wwp-test/mgmt:latest wwp-test/mgmt:{{ wp_version_lineage }} + oc tag wwp-test/httpd:latest wp-test/httpd:{{ wp_version_lineage }} oc tag wwp-test/mgmt:latest wwp/mgmt:prod oc tag wwp-test/mgmt:latest wwp-infra/mgmt:prod oc tag wwp-test/httpd:latest wwp/httpd:prod