fix: Corrected syntax of find command
Some checks failed
Build and Push Dev Containers / build (push) Failing after 1m7s
Some checks failed
Build and Push Dev Containers / build (push) Failing after 1m7s
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user