Настройка сборки drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
e54be04d7a
commit
207d1be38f
@ -17,8 +17,10 @@ steps:
|
|||||||
- 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" -t "$DOCKER_IMAGE_NAME:$DRONE_TAG" .
|
||||||
- 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"
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
branch:
|
||||||
- refs/tags/v.*.*.*
|
- main
|
||||||
|
# ref:
|
||||||
|
# - refs/tags/v.*.*.*
|
Loading…
Reference in New Issue
Block a user