This commit is contained in:
Ettore Di Giacinto
2018-08-18 22:58:39 +02:00
parent 1c79b15c21
commit d11154bbcc
+15
View File
@@ -0,0 +1,15 @@
directory: "/"
source: "https://github.com/Sabayon/docker-stage3-amd64"
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/stage3-amd64 .
- ./docker-companion squash --remove sabayon/stage3-amd64
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- docker push sabayon/stage3-amd64