ci: new registry
This commit is contained in:
parent
d932f0cb5c
commit
d8b2881b18
1 changed files with 3 additions and 23 deletions
26
.drone.yml
26
.drone.yml
|
@ -23,35 +23,15 @@ steps:
|
|||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKERHUB_USER
|
||||
from_secret: OCI_REGISTRY_USER
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASS
|
||||
from_secret: OCI_REGISTRY_PASS
|
||||
dockerfile: Dockerfile
|
||||
repo: quotengrote/allzweckcontainer
|
||||
repo: registry.mgrote.net/allzweckcontainer
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_COMMIT_SHA:0:8}
|
||||
- ${DRONE_COMMIT_BRANCH}
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
- name: docker_build_and_push
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKERHUB_USER
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASS
|
||||
dockerfile: Dockerfile
|
||||
repo: quotengrote/allzweckcontainer
|
||||
tags:
|
||||
- ${DRONE_COMMIT_SHA:0:8}
|
||||
- ${DRONE_COMMIT_BRANCH}
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
|
Loading…
Reference in a new issue