You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
obsidian-pipeline/.drone.yml

40 lines
782 B
YAML

kind: pipeline
name: publish-docker-image
clone:
disable: true
steps:
- name: build-and-public-docker-image
image: alpine/git
commands:
- git clone https://code.ndumas.com/ndumas/obsidian-pipeline.git .
- name: build-and-public-docker-image
image: docker:dind
volumes:
- name: dockersock
path: /var/run
commands:
2 years ago
- apk add git docker make
- mkdir $HOME/.docker/
- echo "$GITEA_DOCKER_REGISTRY_TOKEN" > $HOME/.docker/config.json
2 years ago
- git -C . describe --tags --dirty=-dev
2 years ago
- make debug
- make docker
environment:
GITEA_DOCKER_REGISTRY_TOKEN:
from_secret: GITEA_DOCKER_REGISTRY_TOKEN
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}