From b7dd1616c3ab59d0139ba5682c3f073e1734a670 Mon Sep 17 00:00:00 2001 From: Xbird Date: Wed, 13 Apr 2022 21:41:46 +0200 Subject: [PATCH] edit CI Docker HUB commands --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cc3070..57700af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -74,6 +74,6 @@ publish: - docker push $registry_host/$registry_img:$APP_VERSION - docker logout $registry_host - docker images - - docker login $docker_host -u $docker_user -p $docker_pass - - docker tag $registry_host/$registry_img:$APP_VERSION $docker_img - - docker push $docker_img \ No newline at end of file + - 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 \ No newline at end of file