Skip to content

Commit

Permalink
Deploy snapshots on docker.bitsensor.io
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnrondeel committed Sep 24, 2018
1 parent c277360 commit a4b96e5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ deploy:docker:
- docker info
- echo $BITSENSOR_PASSWORD | docker login -u $BITSENSOR_USERNAME --password-stdin docker.bitsensor.io
- docker build -t elastalert .
- docker tag elastalert artifacts.bitsensor.io:1443/elastalert:latest
- docker tag elastalert artifacts.bitsensor.io:1443/elastalert:$(git describe --abbrev=0)
- docker push artifacts.bitsensor.io:1443/elastalert:latest
- docker push artifacts.bitsensor.io:1443/elastalert:$(git describe --abbrev=0)
- docker tag elastalert docker.bitsensor.io/elastalert:latest
- docker tag elastalert docker.bitsensor.io/elastalert:$(git describe --abbrev=0)
- docker push docker.bitsensor.io/elastalert:latest
- docker push docker.bitsensor.io/elastalert:$(git describe --abbrev=0)
only:
- tags
tags:
Expand All @@ -78,8 +78,8 @@ deploy:docker:snapshot:
- docker info
- echo $BITSENSOR_PASSWORD | docker login -u $BITSENSOR_USERNAME --password-stdin docker.bitsensor.io
- docker build -t elastalert .
- docker tag elastalert artifacts.bitsensor.io:1443/elastalert:snapshot
- docker push artifacts.bitsensor.io:1443/elastalert:snapshot
- docker tag elastalert docker.bitsensor.io/elastalert:snapshot
- docker push docker.bitsensor.io/elastalert:snapshot
only:
- develop
tags:
Expand Down

0 comments on commit a4b96e5

Please sign in to comment.