сборка
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2022-12-18 01:00:11 +03:00
parent c0bccd0091
commit 5e59c40d17

View File

@ -6,6 +6,7 @@ steps:
- name: docker build an publish
image: docker:dind
privileged: true
environment:
DOCKER_REGISTRY_TOKEN:
from_secret: DOCKER_REGISTRY_TOKEN
@ -17,7 +18,7 @@ steps:
- name: dockersock
path: /var/run
commands:
- sleep 15
# - sleep 15
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin
- docker build --no-cache -t "$DOCKER_IMAGE_NAME:latest" .
- docker push "$DOCKER_IMAGE_NAME:latest"
@ -29,14 +30,14 @@ trigger:
# ref:
# - refs/tags/v.*.*.*
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
# services:
# - name: docker
# image: docker:dind
# privileged: true
# volumes:
# - name: dockersock
# path: /var/run
volumes:
- name: dockersock
temp: {}
# volumes:
# - name: dockersock
# temp: {}