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