Сборка drone
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing

This commit is contained in:
Struchkov Mark 2022-12-17 20:39:01 +03:00
parent caf9174ce8
commit 68d3fbdc9a

View File

@ -15,7 +15,7 @@ steps:
from_secret: DOCKER_REGISTRY_USER from_secret: DOCKER_REGISTRY_USER
commands: commands:
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin - echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin
- docker build --no-cache -t "$DOCKER_IMAGE_NAME:latest" -t "$DOCKER_IMAGE_NAME:$DRONE_TAG" . - docker build --no-cache -t "$DOCKER_IMAGE_NAME:latest" .
- docker push "$DOCKER_IMAGE_NAME:latest" - docker push "$DOCKER_IMAGE_NAME:latest"
# - docker push "$DOCKER_IMAGE_NAME:$DRONE_TAG" # - docker push "$DOCKER_IMAGE_NAME:$DRONE_TAG"