Fix docker cloud build

pull/54/head
Filipe Santos 7 years ago
parent 7c2a869216
commit 9764eb229a

@ -40,6 +40,3 @@ dist/
# Systemd # Systemd
systemd systemd
# Docker files
docker

@ -1,3 +1,6 @@
#!/bin/bash #!/bin/bash
# Docker cloud bug ?, working directory is not set acording to the config
cd ..
docker build --build-arg BRANCH=${SOURCE_BRANCH} --build-arg COMMIT=${SOURCE_COMMIT} -f ${DOCKERFILE_PATH} -t ${IMAGE_NAME} . docker build --build-arg BRANCH=${SOURCE_BRANCH} --build-arg COMMIT=${SOURCE_COMMIT} -f ${DOCKERFILE_PATH} -t ${IMAGE_NAME} .

Loading…
Cancel
Save