.drone.yml fix
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2026-02-21 16:26:30 +03:00
parent d386eda958
commit e0d5e1b671

View File

@@ -14,7 +14,8 @@ steps:
image: docker:24
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- name: dockersock
path: /var/run/docker.sock
commands:
- docker build -t localhost:5000/link-shortener:latest -f dockerfile .
@@ -22,8 +23,10 @@ steps:
image: docker/compose:2.22.0
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./:/opt/app
- name: dockersock
path: /var/run/docker.sock
- name: workspace
path: /opt/app
environment:
IMAGE: localhost:5000/link-shortener:latest
SERVER_HOST: link.dusiburg.ru
@@ -43,6 +46,9 @@ volumes:
- name: dockersock
host:
path: /var/run/docker.sock
- name: workspace
host:
path: ./
trigger:
branch: