This commit is contained in:
parent
c88c7f2499
commit
249d882272
|
@ -19,8 +19,16 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Confirm Podman works
|
- name: Detect Directory Changes
|
||||||
run: sudo -u podman podman run --rm hello-world
|
id: changed-dirs
|
||||||
|
uses: https://github.com/tj-actions/changed-files@v42
|
||||||
|
with:
|
||||||
|
dir_names: 'true'
|
||||||
|
|
||||||
- name: Build & Push
|
- name: Build & Push
|
||||||
run: sudo -u podman ./build-image.sh element-web
|
env:
|
||||||
|
ALL_CHANGED_DIRS: ${{ steps.changed-dirs.outputs.all_changed_files }}
|
||||||
|
run: |
|
||||||
|
for file in ${ALL_CHANGED_DIRS}; do
|
||||||
|
echo "sudo -u podman ./build-image.sh ${file}"
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue