|
|
@ -85,10 +85,6 @@
|
|
|
|
when: "matrix_mautrix_telegram_container_self_build|bool"
|
|
|
|
when: "matrix_mautrix_telegram_container_self_build|bool"
|
|
|
|
ignore_errors: yes
|
|
|
|
ignore_errors: yes
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure TARGETARCH is beeing masked
|
|
|
|
|
|
|
|
command: sed -i "3s/ARG/#ARG/" "{{ matrix_mautrix_telegram_docker_src_files_path }}/Dockerfile"
|
|
|
|
|
|
|
|
when: "matrix_telegram_lottieconverter_container_self_build_mask_arch|bool"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure matrix-mautrix-telegram Docker image is built
|
|
|
|
- name: Ensure matrix-mautrix-telegram Docker image is built
|
|
|
|
docker_image:
|
|
|
|
docker_image:
|
|
|
|
name: "{{ matrix_mautrix_telegram_docker_image }}"
|
|
|
|
name: "{{ matrix_mautrix_telegram_docker_image }}"
|
|
|
@ -99,13 +95,10 @@
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
path: "{{ matrix_mautrix_telegram_docker_src_files_path }}"
|
|
|
|
path: "{{ matrix_mautrix_telegram_docker_src_files_path }}"
|
|
|
|
pull: "{{ not matrix_telegram_lottieconverter_container_self_build_mask_arch|bool }}"
|
|
|
|
pull: "{{ not matrix_telegram_lottieconverter_container_self_build_mask_arch|bool }}"
|
|
|
|
|
|
|
|
args:
|
|
|
|
|
|
|
|
TARGETARCH: ""
|
|
|
|
when: "matrix_mautrix_telegram_container_self_build|bool and matrix_mautrix_telegram_git_pull_results.changed"
|
|
|
|
when: "matrix_mautrix_telegram_container_self_build|bool and matrix_mautrix_telegram_git_pull_results.changed"
|
|
|
|
|
|
|
|
|
|
|
|
# Unmask so no git changes are beeing detected
|
|
|
|
|
|
|
|
- name: Ensure TARGETARCH is beeing unmasked
|
|
|
|
|
|
|
|
command: sed -i "3s/#ARG/ARG/" "{{ matrix_mautrix_telegram_docker_src_files_path }}/Dockerfile"
|
|
|
|
|
|
|
|
when: "matrix_telegram_lottieconverter_container_self_build_mask_arch|bool"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check if an old database file already exists
|
|
|
|
- name: Check if an old database file already exists
|
|
|
|
stat:
|
|
|
|
stat:
|
|
|
|
path: "{{ matrix_mautrix_telegram_base_path }}/mautrix-telegram.db"
|
|
|
|
path: "{{ matrix_mautrix_telegram_base_path }}/mautrix-telegram.db"
|
|
|
|