cicd
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Struchkov Mark 2024-09-03 07:55:40 +03:00
parent 6a4c130d5d
commit b3320ec492
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C

View File

@ -10,29 +10,34 @@ trigger:
image_pull_secrets:
- DOCKER_AUTH
services:
- name: docker
# https://hub.docker.com/r/library/docker
image: hub.docker.struchkov.dev/docker:27.1.2-dind-alpine3.20
privileged: true
volumes:
- name: dockersock
path: /var/run
# services:
# - name: docker
# # https://hub.docker.com/r/library/docker
# image: hub.docker.struchkov.dev/docker:27.1.2-dind-alpine3.20
# privileged: true
# volumes:
# - name: dockersock
# path: /var/run
volumes:
- name: dockersock
temp: {}
# volumes:
# - name: dockersock
# temp: {}
workspace:
path: /drone/src
steps:
- name: build site
# https://hub.docker.com/r/library/docker
image: hub.docker.struchkov.dev/docker:27.1.2-dind-alpine3.20
volumes:
- name: dockersock
path: /var/run
image: docker.struchkov.dev/quartz:latest
# volumes:
# - name: dockersock
# path: /var/run
commands:
- sleep 15
- docker run -v ./.quartz/quartz.config.ts:/usr/src/app/quartz.config.ts -v .:/usr/src/app/content -v ./public:/usr/src/app/public docker.struchkov.dev/quartz:latest build
# - sleep 15
- cp .quartz/quartz.config.ts .
- cp .quartz/quartz.layout.ts .
- npx quartz build
- name: publish to server
image: private.docker.struchkov.dev/mkdocs:latest
environment:
@ -60,6 +65,6 @@ steps:
# drone sign --save upagge/digital-garden
---
kind: signature
hmac: cba9924e2c1cfa3c94734db7fc328f44c71af65ff707f9f81809cc9729d34f64
hmac: f821b2582a95172662e7df6cb472cb67de31311e604048f21732ed29d0f64fcb
...