fix: Corrected syntax of find command
Some checks failed
Build and Push Dev Containers / build (push) Failing after 1m7s

This commit is contained in:
2025-07-04 19:12:46 +01:00
parent e253aff57e
commit 5e654d8eb9

View File

@ -24,7 +24,7 @@ jobs:
- name: Build and push containers - name: Build and push containers
run: | run: |
for dir in find . -type f -iname 'Dockerfile' -exec dirname {} \; | sed 's|^\./||'; do for dir in $(find . -type f -iname 'Dockerfile' -exec dirname {} \; | sed 's|^\./||'); do
tag="${{ secrets.CONTAINER_REGISTRY }}/$dir:latest" tag="${{ secrets.CONTAINER_REGISTRY }}/$dir:latest"
docker build -t "$tag" "$dir" docker build -t "$tag" "$dir"
docker push "$tag" docker push "$tag"