From 5e654d8eb92826e4c376167d6bc76df98c17d716 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Fri, 4 Jul 2025 19:12:46 +0100 Subject: [PATCH] fix: Corrected syntax of find command --- .gitea/workflows/build-and-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-and-push.yml b/.gitea/workflows/build-and-push.yml index a40a46a..dce9f8c 100644 --- a/.gitea/workflows/build-and-push.yml +++ b/.gitea/workflows/build-and-push.yml @@ -24,7 +24,7 @@ jobs: - name: Build and push containers 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" docker build -t "$tag" "$dir" docker push "$tag"