Add optional push to registry.

This commit is contained in:
yohan 2024-06-11 23:21:02 +02:00
parent 83053fff0f
commit e743ecea47

View File

@ -20,6 +20,9 @@
path: "{{ image.repo_url }}" path: "{{ image.repo_url }}"
build: build:
force_rm: true force_rm: true
push: "{{ image.push | default(False) | bool }}"
push_args:
dest: "{{ image.push_dest | default('') }}"
become: true become: true
register: result register: result