fix: Fixed pipeline code which searches for containers
Some checks failed
Build and Push Dev Containers / build (push) Failing after 15s
Some checks failed
Build and Push Dev Containers / build (push) Failing after 15s
This commit is contained in:
@ -24,8 +24,8 @@ jobs:
|
||||
|
||||
- name: Build and push containers
|
||||
run: |
|
||||
for dir in base lab python rust go nodejs; do
|
||||
tag="${{ secrets.CONTAINER_REGISTRY }}/base-images/$dir:latest"
|
||||
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"
|
||||
done
|
||||
|
Reference in New Issue
Block a user