Force-build customized container image for Synapse when its Dockerfile changes
This commit is contained in:
parent
9c77486e59
commit
d02f6b8b93
@ -72,12 +72,13 @@
|
|||||||
owner: "{{ matrix_synapse_uid }}"
|
owner: "{{ matrix_synapse_uid }}"
|
||||||
group: "{{ matrix_synapse_gid }}"
|
group: "{{ matrix_synapse_gid }}"
|
||||||
mode: 0640
|
mode: 0640
|
||||||
|
register: matrix_synapse_container_image_customizations_dockerfile_result
|
||||||
|
|
||||||
- name: Ensure customized Docker image for Synapse is built
|
- name: Ensure customized Docker image for Synapse is built
|
||||||
community.docker.docker_image:
|
community.docker.docker_image:
|
||||||
name: "{{ matrix_synapse_docker_image_customized }}"
|
name: "{{ matrix_synapse_docker_image_customized }}"
|
||||||
source: build
|
source: build
|
||||||
force_source: "{{ matrix_synapse_docker_image_customized_force_source }}"
|
force_source: "{{ matrix_synapse_container_image_customizations_dockerfile_result.changed or matrix_synapse_docker_image_customized_force_source }}"
|
||||||
build:
|
build:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
path: "{{ matrix_synapse_customized_docker_src_files_path }}"
|
path: "{{ matrix_synapse_customized_docker_src_files_path }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user