build: deployment ci container. (#13902)

This commit is contained in:
Leonard Gram 2018-10-30 15:56:52 +01:00 committed by GitHub
parent 758ec4bc70
commit 3d452e5a46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
FROM circleci/python:2.7-stretch
RUN sudo pip install awscli && \
curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-222.0.0-linux-x86_64.tar.gz | \
sudo tar xvzf - -C /opt

View File

@ -0,0 +1,7 @@
#!/bin/bash
_version="1.0.0"
_tag="grafana/grafana-ci-deploy:${_version}"
docker build -t $_tag .
docker push $_tag