preparing mardown file handling in Dockerfiles + refactoring build directory

This commit is contained in:
Julien Neuhart
2018-04-10 13:26:23 +02:00
parent bca02f6198
commit 3860c151de
10 changed files with 58 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ tasks:
short: Runs CI process inside a container
run:
- docker build -t gotenberg:ci -f Dockerfile.ci .
- docker run --rm -e "VERSION={{ .Orbit.Version }}" -v "$(pwd)/.ci:/go/src/github.com/thecodingmachine/gotenberg/.ci" -v "$(pwd)/.build:/go/src/github.com/thecodingmachine/gotenberg/.build" gotenberg:ci
- docker run --rm -e "VERSION={{ .Orbit.Version }}" -v "$(pwd)/.ci:/go/src/github.com/thecodingmachine/gotenberg/.ci" gotenberg:ci
- use: build
short: Builds the main Docker image