Сборка drone
This commit is contained in:
parent
caf9174ce8
commit
68d3fbdc9a
@ -15,7 +15,7 @@ steps:
|
||||
from_secret: DOCKER_REGISTRY_USER
|
||||
commands:
|
||||
- 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:$DRONE_TAG"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user