fix cicd
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Struchkov Mark 2023-12-02 20:58:11 +03:00
parent d3bd2b01b3
commit 28d9c20f46
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -20,6 +20,7 @@ steps:
commands: commands:
- sleep 15 - sleep 15
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin - 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 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:latest"
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG" - docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG"