build: Fixed incorrect permissions for repo folders in ci-deploy. (#16360)

This commit is contained in:
Leonard Gram 2019-04-03 15:24:34 +02:00 committed by GitHub
parent 6ef844daa4
commit 6baba64935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View File

@ -322,7 +322,7 @@ jobs:
deploy-enterprise-master:
docker:
- image: grafana/grafana-ci-deploy:1.2.1
- image: grafana/grafana-ci-deploy:1.2.2
steps:
- attach_workspace:
at: .
@ -347,7 +347,7 @@ jobs:
deploy-enterprise-release:
docker:
- image: grafana/grafana-ci-deploy:1.2.1
- image: grafana/grafana-ci-deploy:1.2.2
steps:
- checkout
- attach_workspace:
@ -380,7 +380,7 @@ jobs:
deploy-master:
docker:
- image: grafana/grafana-ci-deploy:1.2.1
- image: grafana/grafana-ci-deploy:1.2.2
steps:
- attach_workspace:
at: .
@ -411,7 +411,7 @@ jobs:
deploy-release:
docker:
- image: grafana/grafana-ci-deploy:1.2.1
- image: grafana/grafana-ci-deploy:1.2.2
steps:
- checkout
- attach_workspace:

View File

@ -18,7 +18,9 @@ RUN pip install -U awscli crcmod && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/* && \
ln -s /opt/google-cloud-sdk/bin/gsutil /usr/bin/gsutil && \
ln -s /opt/google-cloud-sdk/bin/gcloud /usr/bin/gcloud
ln -s /opt/google-cloud-sdk/bin/gcloud /usr/bin/gcloud && \
mkdir -p /deb-repo /rpm-repo && \
chown circleci:circleci /deb-repo /rpm-repo
COPY --from=0 /go/bin/aptly /usr/local/bin/aptly

View File

@ -1,6 +1,6 @@
#!/bin/bash
_version="1.2.1"
_version="1.2.2"
_tag="grafana/grafana-ci-deploy:${_version}"
docker build -t $_tag .