shuttle-drone-templates/.drone.yml
kjuulh e23230ba48
Some checks failed
continuous-integration/drone/push Build is failing
without o
2023-04-07 20:58:01 +02:00

32 lines
756 B
YAML

type: docker
kind: pipeline
name: "shuttle-drone-templates"
steps:
- name: "build"
image: docker.io/kasperhermansen/shuttle-drone:1680893418457
volumes:
- name: dockersock
path: /var/run
environment:
#DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
DOCKER_HOST: docker.io
commands:
- set -eu
- sleep 10
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- shuttle run build
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}