From 28d9c20f462b99f5395163e19d045258c8165bed Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sat, 2 Dec 2023 20:58:11 +0300 Subject: [PATCH] fix cicd --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index bcfc0f9..f4b870d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,6 +20,7 @@ steps: commands: - sleep 15 - echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin + - echo "$DOCKER_REGISTRY_TOKEN" | docker login hub.docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin - docker build --no-cache -t "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest" -t "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG" . - docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest" - docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG"