ci: doublke trailing slash in registry name
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-08-05 12:09:13 +01:00
parent 82e72037e4
commit 4c00cf3eff
2 changed files with 4 additions and 4 deletions

View File

@ -62,8 +62,8 @@ local publicSecrets = import 'lib/public-secrets.libsonnet';
'sleep 15', 'sleep 15',
'cd docker', 'cd docker',
'docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"', 'docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"',
'docker build . -t $${LOCAL_DOCKER_REGISTRY}/squid', 'docker build . -t $${LOCAL_DOCKER_REGISTRY}squid',
'docker push $${LOCAL_DOCKER_REGISTRY}/squid', 'docker push $${LOCAL_DOCKER_REGISTRY}squid',
'docker logout $${LOCAL_DOCKER_REGISTRY}', 'docker logout $${LOCAL_DOCKER_REGISTRY}',
], ],
}, },

View File

@ -37,8 +37,8 @@ steps:
- sleep 15 - sleep 15
- cd docker - cd docker
- docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}" - docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"
- docker build . -t $${LOCAL_DOCKER_REGISTRY}/squid - docker build . -t $${LOCAL_DOCKER_REGISTRY}squid
- docker push $${LOCAL_DOCKER_REGISTRY}/squid - docker push $${LOCAL_DOCKER_REGISTRY}squid
- docker logout $${LOCAL_DOCKER_REGISTRY} - docker logout $${LOCAL_DOCKER_REGISTRY}
environment: environment:
LOCAL_DOCKER_REGISTRY: LOCAL_DOCKER_REGISTRY: