ci: test
This commit is contained in:
parent
0704d69fdb
commit
aa7e6809e8
1 changed files with 8 additions and 3 deletions
11
.drone.yml
11
.drone.yml
|
@ -19,7 +19,7 @@ steps:
|
||||||
- hadolint Dockerfile
|
- hadolint Dockerfile
|
||||||
|
|
||||||
- name: container
|
- name: container
|
||||||
image: docker:20
|
image: docker:dind
|
||||||
environment:
|
environment:
|
||||||
username:
|
username:
|
||||||
from_secret: OCI_REGISTRY_USER
|
from_secret: OCI_REGISTRY_USER
|
||||||
|
@ -35,5 +35,10 @@ steps:
|
||||||
- docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_SHA:0:8}
|
- docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_SHA:0:8}
|
||||||
- docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_BRANCH}
|
- docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_BRANCH}
|
||||||
volumes:
|
volumes:
|
||||||
- name: dockersock
|
- name: dockersock
|
||||||
path: /var/run
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
|
Loading…
Reference in a new issue