Unverified Commit 8a653ae3 authored by liuzhe-lz's avatar liuzhe-lz Committed by GitHub
Browse files

fix docker image tag (#3283)

parent 796da217
...@@ -80,8 +80,8 @@ jobs: ...@@ -80,8 +80,8 @@ jobs:
echo "## Building ${IMAGE_NAME}:$(NNI_RELEASE) ##" echo "## Building ${IMAGE_NAME}:$(NNI_RELEASE) ##"
docker build --build-arg NNI_RELEASE=$(NNI_RELEASE) -t ${IMAGE_NAME} . docker build --build-arg NNI_RELEASE=$(NNI_RELEASE) -t ${IMAGE_NAME} .
docker tag ${IMAGE_NAME} ${IMAGE_NAME}:$(NNI_RELEASE) docker tag ${IMAGE_NAME} ${IMAGE_NAME}:v$(NNI_RELEASE)
docker push ${IMAGE_NAME}:$(NNI_RELEASE) docker push ${IMAGE_NAME}:v$(NNI_RELEASE)
if [[ $(build_type) != 'rc' ]]; then if [[ $(build_type) != 'rc' ]]; then
docker push ${IMAGE_NAME} docker push ${IMAGE_NAME}
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment