Настройка сборки drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Struchkov Mark 2022-12-17 20:36:10 +03:00
parent e54be04d7a
commit 207d1be38f

View File

@ -17,8 +17,10 @@ steps:
- 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 push "$DOCKER_IMAGE_NAME:latest"
- docker push "$DOCKER_IMAGE_NAME:$DRONE_TAG"
# - docker push "$DOCKER_IMAGE_NAME:$DRONE_TAG"
trigger:
ref:
- refs/tags/v.*.*.*
branch:
- main
# ref:
# - refs/tags/v.*.*.*