Asuro/.drone.yml
Kieron Morris 8c51bd8690
Some checks failed
continuous-integration/drone/push Build is failing
Attempts to resolve issues with missing /code directory
Dockerfile expects `/code` attempting to resolve this in the .drone.yml
2025-03-09 18:54:38 +00:00

25 lines
538 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
depends_on:
- build-image
commands:
- ln -s /drone/src /code
- find . -type f -print0 | xargs -0 dos2unix
- chmod +x /code/*.sh