Commit 65de2127 authored by julien dehos's avatar julien dehos

ci

parent 844c1184
Pipeline #44862418 failed with stages
in 7 minutes and 22 seconds
......@@ -14,22 +14,22 @@ production:
image: docker:stable
services:
- docker:dind
before-script:
before_script:
- curl https://cli-assets.heroku.com/install.sh | sh
script:
- docker load < miso-xhr.tar.gz
#- heroku login
#- heroku container:login
#- docker tag miso-xhr:latest registry.heroku.com/miso-xhr/web
#- docker push registry.heroku.com/miso-xhr/web
#- heroku container:release web --app miso-xhr
- docker images
# - docker login --username=_ --password=$HEROKU_API_KEY registry.heroku.com
# - echo "$HEROKU_API_KEY" | docker login --username=_ --password=$HEROKU_API_KEY registry.heroku.com
- heroku login
- heroku container:login
- docker tag miso-xhr:latest registry.heroku.com/miso-xhr/web
- docker push registry.heroku.com/miso-xhr/web
#- docker run --rm -e HEROKU_API_KEY=$HEROKU_API_KEY heroku/heroku:16 container:release web --app miso-xhr
- heroku container:release web --app miso-xhr
- docker rmi miso-xhr:latest
only:
- master
# variables:
# DOCKER_HOST: tcp://docker:2375
# DOCKER_DRIVER: overlay2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment