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