From ed2019b97bd11e53732e24e87f0be7d2b64a31ef Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 18 Aug 2018 18:35:48 +0200 Subject: [PATCH] [ci] add mottainai yaml file --- .mottainai.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .mottainai.yaml diff --git a/.mottainai.yaml b/.mottainai.yaml new file mode 100644 index 0000000..2b5bd79 --- /dev/null +++ b/.mottainai.yaml @@ -0,0 +1,14 @@ +directory: "/" +task: "docker_execute" +artefact_path: "artifacts" +storage: "9317096982217158" +storage_path: "storage" +image: "sabayon/builder-amd64" +script: + - set -e + - source storage/env + - curl -s https://api.github.com/repos/mudler/docker-companion/releases/latest | grep 'browser_download_url.*amd64' | cut -d : -f 2,3 | tr -d \" | wget -i - -O docker-companion; chmod a+x docker-companion + - docker build --no-cache -t sabayon/base-amd64 . + - ./docker-companion squash --remove sabayon/base-amd64 + - docker login -u $DOCKER_USER -p $DOCKER_PASS + - docker push sabayon/base-amd64