Add check for ma1sd repo changes on image self build

Adding when clause to ma1sd image build task to avoid image being built if not needed.
This commit is contained in:
Sweeny 2022-03-15 23:50:06 +00:00 committed by GitHub
parent 5cdb3b442c
commit 36d4d1f66e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,6 +87,7 @@
shell: "DOCKER_BUILDKIT=1 ./gradlew dockerBuild" shell: "DOCKER_BUILDKIT=1 ./gradlew dockerBuild"
args: args:
chdir: "{{ matrix_ma1sd_docker_src_files_path }}" chdir: "{{ matrix_ma1sd_docker_src_files_path }}"
when: matrix_ma1sd_git_pull_results.changed
- name: Ensure ma1sd Docker image is tagged correctly - name: Ensure ma1sd Docker image is tagged correctly
docker_image: docker_image: