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