All checks were successful
continuous-integration/drone/push Build is passing
Still experiencing issues with not being able to find the .sh files due to missing /code directory.
25 lines
542 B
YAML
25 lines
542 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:
|
|
- find . -type f -print0 | xargs -0 dos2unix
|
|
- chmod +x /drone/src/*.sh
|
|
- /drone/src/compile.sh |