fix: Fixed pipeline code which searches for containers
Some checks failed
Build and Push Dev Containers / build (push) Failing after 15s

This commit is contained in:
2025-07-04 19:08:39 +01:00
parent e313fc599e
commit e253aff57e

View File

@ -24,8 +24,8 @@ jobs:
- name: Build and push containers - name: Build and push containers
run: | run: |
for dir in base lab python rust go nodejs; do for dir in find . -type f -iname 'Dockerfile' -exec dirname {} \; | sed 's|^\./||'; do
tag="${{ secrets.CONTAINER_REGISTRY }}/base-images/$dir:latest" tag="${{ secrets.CONTAINER_REGISTRY }}/$dir:latest"
docker build -t "$tag" "$dir" docker build -t "$tag" "$dir"
docker push "$tag" docker push "$tag"
done done