shuttle-drone-templates/.drone.yml
kjuulh 5458561ff0
Some checks failed
continuous-integration/drone/push Build is failing
feat: debugging
2023-04-07 19:56:45 +02:00

35 lines
844 B
YAML

type: docker
kind: pipeline
name: "shuttle-drone-templates"
steps:
- name: "build"
image: docker.io/kasperhermansen/shuttle-drone:1680889993558
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:
- sleep 10
- echo "$DOCKER_PASSWORD"
- echo "$DOCKER_USERNAME"
#- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- echo "got this far"
- ls
- shuttle run build
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}