Pull correct version when self building Mautrix Facebook and Synapse Admin

This commit is contained in:
Aaron Raimist 2021-08-31 08:43:52 -05:00
parent 02f4e8cf0d
commit 3ab01a5f9e
No known key found for this signature in database
GPG key ID: 37419210002890EF
2 changed files with 2 additions and 1 deletions

View file

@ -60,7 +60,7 @@
git:
repo: "{{ matrix_mautrix_facebook_container_image_self_build_repo }}"
dest: "{{ matrix_mautrix_facebook_docker_src_files_path }}"
# version: "{{ matrix_coturn_docker_image.split(':')[1] }}"
version: "{{ matrix_mautrix_facebook_docker_image.split(':')[1] }}"
force: "yes"
register: matrix_mautrix_facebook_git_pull_results
when: "matrix_mautrix_facebook_container_image_self_build|bool"

View file

@ -16,6 +16,7 @@
git:
repo: "{{ matrix_synapse_admin_container_self_build_repo }}"
dest: "{{ matrix_synapse_admin_docker_src_files_path }}"
version: "{{ matrix_synapse_admin_docker_image.split(':')[1] }}"
force: "yes"
register: matrix_synapse_admin_git_pull_results
when: "matrix_synapse_admin_enabled|bool and matrix_synapse_admin_container_self_build|bool"