Финальная сборка
This commit is contained in:
parent
5bad80d5a1
commit
7b9568d4f1
10
.drone.yml
10
.drone.yml
@ -19,15 +19,13 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- sleep 15
|
- sleep 15
|
||||||
- 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" .
|
- 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:
|
||||||
branch:
|
ref:
|
||||||
- main
|
- refs/tags/v.*.*.*
|
||||||
# ref:
|
|
||||||
# - refs/tags/v.*.*.*
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
Loading…
Reference in New Issue
Block a user