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
|
- 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
|
||||||
|
Reference in New Issue
Block a user