cicd: attempt fix

This commit is contained in:
light7734 2024-10-14 13:34:52 +03:30
parent 74ef0930d5
commit 4bf1d0e24c
Signed by: light7734
GPG Key ID: 37FDF7099B2AB7A7
1 changed files with 5 additions and 13 deletions

View File

@ -10,8 +10,9 @@ workspace:
path: /opt path: /opt
volumes: volumes:
- name: dockersock - name: dockersock
temp: {} host:
path: /var/run/docker.sock
services: services:
- name: docker - name: docker
@ -23,10 +24,7 @@ services:
steps: steps:
- name: setup_image - name: setup_image
image: docker:dind image: docker:latest
volumes:
- name: dockersock
path: /var/run
commands: commands:
- until docker info; do echo "Waiting for Docker daemon..."; sleep 1; done - until docker info; do echo "Waiting for Docker daemon..."; sleep 1; done
- docker build -t ubuntu_amd64 -f ./tools/docker/linux_amd64 . - docker build -t ubuntu_amd64 -f ./tools/docker/linux_amd64 .
@ -37,17 +35,11 @@ steps:
- sleep 5 - sleep 5
- name: list_images - name: list_images
volumes:
- name: dockersock
path: /var/run
image: docker:dind image: docker:dind
commands: commands:
- docker images - docker images
- name: setup_conan - name: setup_conan
volumes:
- name: dockersock
path: /var/run
image: ubuntu_amd64 image: ubuntu_amd64
environment: environment:
CONAN_REVISIONS_ENABLED: "1" CONAN_REVISIONS_ENABLED: "1"