fix: Added missing registry username to the tag
Some checks failed
Build and Push Dev Containers / build (push) Failing after 21s
Some checks failed
Build and Push Dev Containers / build (push) Failing after 21s
This commit is contained in:
@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Build and push containers
|
- name: Build and push containers
|
||||||
run: |
|
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"
|
tag="${{ secrets.CONTAINER_REGISTRY }}/${{ secrets.CONTAINER_REGISTRY_USERNAME }}/$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