Сборка drone
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Struchkov Mark 2022-12-18 01:19:11 +03:00
parent 7975fddb87
commit 5bad80d5a1

View File

@ -13,7 +13,9 @@ steps:
from_secret: DOCKER_IMAGE_NAME from_secret: DOCKER_IMAGE_NAME
DOCKER_REGISTRY_USER: DOCKER_REGISTRY_USER:
from_secret: DOCKER_REGISTRY_USER from_secret: DOCKER_REGISTRY_USER
DOCKER_HOST: tcp://docker:2376 volumes:
- name: dockersock
path: /var/run
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
@ -28,6 +30,13 @@ trigger:
# - refs/tags/v.*.*.* # - refs/tags/v.*.*.*
services: services:
- name: docker - name: docker
image: docker:20.10.22-dind-alpine3.17 image: docker:20.10.22-dind-alpine3.17
privileged: true privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}