Pass repo as registry+repo as temporary workaround for drone ECR publish issues. (#4541)

Signed-off-by: Callum Styan <callumstyan@gmail.com>
pull/4542/head^2
Callum Styan 5 years ago committed by GitHub
parent 6fcd02bad4
commit 29c7fd2b24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .drone/drone.jsonnet
  2. 6
      .drone/drone.yml

@ -80,7 +80,7 @@ local lambda_promtail_ecr(app) = {
image: 'cstyan/ecr',
privileged: true,
settings: {
repo: 'lambda-promtail',
repo: 'public.ecr.aws/grafana/lambda-promtail',
registry: 'public.ecr.aws/grafana',
dockerfile: 'tools/%s/Dockerfile' % app,
access_key: { from_secret: ecr_key.name },

@ -908,7 +908,7 @@ steps:
dry_run: true
region: us-east-1
registry: public.ecr.aws/grafana
repo: lambda-promtail
repo: public.ecr.aws/grafana/lambda-promtail
secret_key:
from_secret: ecr_secret_key
when:
@ -931,7 +931,7 @@ steps:
dry_run: false
region: us-east-1
registry: public.ecr.aws/grafana
repo: lambda-promtail
repo: public.ecr.aws/grafana/lambda-promtail
secret_key:
from_secret: ecr_secret_key
when:
@ -984,6 +984,6 @@ kind: secret
name: deploy_config
---
kind: signature
hmac: 2f519d332d5e2241a44b170461a9cf256dc8050de6d0a6caa99839a4b561aab5
hmac: 55440faa2728a5b8abbd213c2cf198e01f00201ba7143391924da1b9aa02c350
...

Loading…
Cancel
Save