This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user