From 64e96269eabfc9f4e90ae7f2980af2398490b47b Mon Sep 17 00:00:00 2001 From: Andrii Ostapenko Date: Mon, 5 Apr 2021 15:56:18 -0500 Subject: [PATCH] Add ability to override airship images prefix Change-Id: I13ccca42773246bf0ef6803d3bd1bd9cb44b88e0 Signed-off-by: Andrii Ostapenko --- roles/airshipctl-publish-images/tasks/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/airshipctl-publish-images/tasks/main.yaml b/roles/airshipctl-publish-images/tasks/main.yaml index dba60ddac..9fe9a7e12 100644 --- a/roles/airshipctl-publish-images/tasks/main.yaml +++ b/roles/airshipctl-publish-images/tasks/main.yaml @@ -38,6 +38,7 @@ NO_PROXY: "{{ proxy.noproxy }}" USE_PROXY: "{{ proxy.enabled | lower }}" DOCKER_REGISTRY: "{{ image_repo }}" + DOCKER_IMAGE_PREFIX: "{{ image_prefix | default('airshipit') }}" target: images - name: Push Image with Commit Tag @@ -50,4 +51,5 @@ NO_PROXY: "{{ proxy.noproxy }}" USE_PROXY: "{{ proxy.enabled | lower }}" DOCKER_REGISTRY: "{{ image_repo }}" + DOCKER_IMAGE_PREFIX: "{{ image_prefix | default('airshipit') }}" target: images