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