ci: better hook
continuous-integration/drone/push Build is passing 詳情

This commit is contained in:
Giles Bradshaw 2020-08-12 13:26:14 +01:00
父節點 166bc0c430
當前提交 96fb0942d5
共有 3 個檔案被更改,包括 5 行新增4 行删除

查看文件

@ -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"