mirror of https://github.com/kubeflow/examples.git
13 lines
291 B
Bash
Executable File
13 lines
291 B
Bash
Executable File
#!/bin/sh
|
|
|
|
image_name=gcr.io/$PROJECT_ID/kubeflow/ner/preprocess
|
|
image_tag=latest
|
|
|
|
full_image_name=${image_name}:${image_tag}
|
|
base_image_tag=1.12.0-py3
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
docker build --build-arg BASE_IMAGE_TAG=${base_image_tag} -t "${full_image_name}" .
|
|
docker push "$full_image_name"
|