This commit is contained in:
parent
c88c7f2499
commit
249d882272
|
@ -19,8 +19,16 @@ jobs:
|
|||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Confirm Podman works
|
||||
run: sudo -u podman podman run --rm hello-world
|
||||
- name: Detect Directory Changes
|
||||
id: changed-dirs
|
||||
uses: https://github.com/tj-actions/changed-files@v42
|
||||
with:
|
||||
dir_names: 'true'
|
||||
|
||||
- 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