This commit is contained in:
@@ -29,7 +29,10 @@ jobs:
|
|||||||
find . -type f -name "Dockerfile" | while read dockerfile; do
|
find . -type f -name "Dockerfile" | while read dockerfile; do
|
||||||
dir=$(dirname "$dockerfile")
|
dir=$(dirname "$dockerfile")
|
||||||
name=$(basename "$dir")
|
name=$(basename "$dir")
|
||||||
|
IMAGE_NAME="${HARBOR_URL}/testing/merlin/${name}:${TAG}"
|
||||||
IMAGE_NAME="${HARBOR}/testing/merlin/${name}:${TAG}"
|
echo "Building image: ${IMAGE_NAME}"
|
||||||
echo "Building and pushing image: ${IMAGE_NAME}"
|
docker build -t ${IMAGE_NAME} "$dir"
|
||||||
|
echo "Pushing image: ${IMAGE_NAME}"
|
||||||
|
docker push ${IMAGE_NAME}
|
||||||
|
echo "Successfully pushed: ${IMAGE_NAME}"
|
||||||
done
|
done
|
||||||
Reference in New Issue
Block a user