mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 17:15:40 -06:00
build: deployment ci container. (#13902)
This commit is contained in:
parent
758ec4bc70
commit
3d452e5a46
5
scripts/build/ci-deploy/Dockerfile
Normal file
5
scripts/build/ci-deploy/Dockerfile
Normal 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
|
7
scripts/build/ci-deploy/build-deploy.sh
Executable file
7
scripts/build/ci-deploy/build-deploy.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
_version="1.0.0"
|
||||
_tag="grafana/grafana-ci-deploy:${_version}"
|
||||
|
||||
docker build -t $_tag .
|
||||
docker push $_tag
|
Loading…
Reference in New Issue
Block a user