ci: better hook
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
166bc0c430
commit
96fb0942d5
|
@ -77,6 +77,7 @@ steps:
|
|||
- docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"
|
||||
- cd docker-dind
|
||||
- echo "$${CA_CRT}" > CA_crt.crt
|
||||
- echo "$${CA_CRT}"
|
||||
- docker build . -t $${LOCAL_DOCKER_REGISTRY}docker:dind1
|
||||
- docker push $${LOCAL_DOCKER_REGISTRY}docker:dind1
|
||||
- docker logout $${LOCAL_DOCKER_REGISTRY}
|
||||
|
|
|
@ -74,12 +74,12 @@ steps:
|
|||
image: docker:dind
|
||||
commands:
|
||||
- set -e
|
||||
- sleep 15
|
||||
- docker login $${LOCAL_DOCKER_REGISTRY} --username client --password "$${LOCAL_REGISTRY_PASSWORD}"
|
||||
- cd docker-dind
|
||||
- echo "$${CA_CRT}" > CA_crt.crt
|
||||
- docker build . -t $${LOCAL_DOCKER_REGISTRY}docker:dind
|
||||
- docker push $${LOCAL_DOCKER_REGISTRY}docker:dind
|
||||
- echo "$${CA_CRT}"
|
||||
- docker build . -t $${LOCAL_DOCKER_REGISTRY}docker:dind1
|
||||
- docker push $${LOCAL_DOCKER_REGISTRY}docker:dind1
|
||||
- docker logout $${LOCAL_DOCKER_REGISTRY}
|
||||
environment:
|
||||
CA_CRT:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
drone jsonnet --source .drone/drone-home.jsonnet --target .drone/.drone-home.yml --stream \
|
||||
drone jsonnet --source .drone/drone-home.jsonnet --target .drone/drone-home.yml --stream \
|
||||
&& git add .drone/drone-home.yml \
|
||||
&& echo "jsonnet built"
|
Loading…
Reference in New Issue