Use upstream Docker image for amd64 rather than self-build

This commit is contained in:
Matthew Cengia
2022-12-11 21:25:43 +11:00
parent 905ffd091e
commit 3453fff901
5 changed files with 8 additions and 10 deletions

View File

@ -38,11 +38,10 @@
- name: Ensure Hydrogen configuration installed
ansible.builtin.copy:
content: "{{ matrix_client_hydrogen_configuration | to_nice_json }}"
dest: "{{ matrix_client_hydrogen_docker_src_files_path }}/src/platform/web/assets/config.json"
dest: "{{ matrix_client_hydrogen_data_path }}/config.json"
mode: 0644
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
when: "matrix_client_hydrogen_container_image_self_build | bool"
- name: Ensure Hydrogen additional config files installed
ansible.builtin.template:
@ -55,8 +54,6 @@
- {src: "{{ role_path }}/templates/nginx.conf.j2", name: "nginx.conf"}
when: "item.src is not none"
# This step MUST come after the steps to install the configuration files because the config files
# are currently only read at build time, not at run time like most other components in the playbook
- name: Ensure Hydrogen Docker image is built
community.docker.docker_image:
name: "{{ matrix_client_hydrogen_docker_image }}"