This commit is contained in:
parent
d3bd2b01b3
commit
28d9c20f46
@ -20,6 +20,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- sleep 15
|
- sleep 15
|
||||||
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
|
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
|
||||||
|
- echo "$DOCKER_REGISTRY_TOKEN" | docker login hub.docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
|
||||||
- docker build --no-cache -t "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest" -t "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG" .
|
- docker build --no-cache -t "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest" -t "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG" .
|
||||||
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest"
|
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:latest"
|
||||||
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG"
|
- docker push "docker.struchkov.dev/$DOCKER_IMAGE_NAME:$DRONE_TAG"
|
||||||
|
Loading…
Reference in New Issue
Block a user