From e743ecea47528623e32c4ad594b6d1d9fee0cbac Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Tue, 11 Jun 2024 23:21:02 +0200 Subject: [PATCH] Add optional push to registry. --- tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 9fd5535..7f205c8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -20,6 +20,9 @@ path: "{{ image.repo_url }}" build: force_rm: true + push: "{{ image.push | default(False) | bool }}" + push_args: + dest: "{{ image.push_dest | default('') }}" become: true register: result