Some checks failed
continuous-integration/drone/push Build is failing
Testing whether mount paths are the problem
27 lines
565 B
YAML
27 lines
565 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: build
|
|
|
|
steps:
|
|
- name: build-image
|
|
image: plugins/docker
|
|
settings:
|
|
repo: t3hn3rd/asuro-build
|
|
tags: latest
|
|
dockerfile: Dockerfile
|
|
registry: docker.io
|
|
username:
|
|
from_secret: docker_username
|
|
password:
|
|
from_secret: docker_password
|
|
|
|
- name: compile
|
|
image: t3hn3rd/asuro-build:latest
|
|
volumes:
|
|
- name: /code
|
|
path: /drone/src
|
|
depends_on:
|
|
- build-image
|
|
commands:
|
|
- find . -type f -print0 | xargs -0 dos2unix
|
|
- chmod +x /code/*.sh |