mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-25 02:18:31 +01:00
Correctly tag self-built ma1sd Docker image
This commit is contained in:
parent
b0e984136f
commit
fede58fe96
@ -63,6 +63,14 @@
|
|||||||
chdir: "{{ matrix_ma1sd_docker_src_files_path }}"
|
chdir: "{{ matrix_ma1sd_docker_src_files_path }}"
|
||||||
when: "matrix_ma1sd_enabled|bool and matrix_ma1sd_container_image_self_build"
|
when: "matrix_ma1sd_enabled|bool and matrix_ma1sd_container_image_self_build"
|
||||||
|
|
||||||
|
- name: Ensure ma1sd Docker image is tagged correctly
|
||||||
|
docker_image:
|
||||||
|
name: "{{ matrix_ma1sd_docker_image.split('-')[0] }}"
|
||||||
|
repository: "{{ matrix_ma1sd_docker_image }}"
|
||||||
|
force_tag: yes
|
||||||
|
source: local
|
||||||
|
when: "matrix_ma1sd_enabled|bool and matrix_ma1sd_container_image_self_build"
|
||||||
|
|
||||||
- name: Ensure ma1sd config installed
|
- name: Ensure ma1sd config installed
|
||||||
copy:
|
copy:
|
||||||
content: "{{ matrix_ma1sd_configuration|to_nice_yaml }}"
|
content: "{{ matrix_ma1sd_configuration|to_nice_yaml }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user