clean CI for docker HUB

This commit is contained in:
Xbird
2022-04-13 22:27:17 +02:00
parent b7dd1616c3
commit 1c53dd2eba

View File

@@ -72,8 +72,9 @@ publish:
- docker login $registry_host -u $registry_user -p $registry_pass - docker login $registry_host -u $registry_user -p $registry_pass
- docker build -f ./Dockerfile -t $registry_host/$registry_img:$APP_VERSION . - docker build -f ./Dockerfile -t $registry_host/$registry_img:$APP_VERSION .
- docker push $registry_host/$registry_img:$APP_VERSION - docker push $registry_host/$registry_img:$APP_VERSION
- docker logout $registry_host - docker logout $registry_host
- docker images
- docker login -u $docker_user -p $docker_pass - docker login -u $docker_user -p $docker_pass
- docker tag $registry_host/$registry_img:$APP_VERSION $docker_host/$docker_img:$APP_VERSION - 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