clean CI for docker HUB
This commit is contained in:
1 parent
b7dd1616c3
commit
1c53dd2eba
1 file changed
+4
-3
+4
-3
@@ -72,8 +72,9 @@ publish:
|
||||
- docker login $registry_host -u $registry_user -p $registry_pass
|
||||
- docker build -f ./Dockerfile -t $registry_host/$registry_img:$APP_VERSION .
|
||||
- docker push $registry_host/$registry_img:$APP_VERSION
|
||||
- docker logout $registry_host
|
||||
- docker images
|
||||
- docker logout $registry_host
|
||||
- docker login -u $docker_user -p $docker_pass
|
||||
- docker tag $registry_host/$registry_img:$APP_VERSION $docker_host/$docker_img:$APP_VERSION
|
||||
- docker push $docker_host/$docker_img:$APP_VERSION
|
||||
- docker tag $registry_host/$registry_img:$APP_VERSION $docker_host/$docker_img
|
||||
- docker push $docker_host/$docker_img:$APP_VERSION
|
||||
- docker push $docker_host/$docker_img
|
||||
Reference in new issue
Block a user