ci: add new registry
This commit is contained in:
parent
bd78ec158b
commit
54fc4ee05d
1 changed files with 16 additions and 1 deletions
17
.drone.yml
17
.drone.yml
|
@ -38,7 +38,7 @@ steps:
|
|||
exclude:
|
||||
- pull_request
|
||||
|
||||
- name: docker_build_and_push
|
||||
- name: docker_build_and_push_dockerhub
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
|
@ -54,3 +54,18 @@ steps:
|
|||
event:
|
||||
exclude:
|
||||
- pull_request
|
||||
|
||||
- name: docker_build_and_push_selfhosted
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: OCI-REGISTRY-USER
|
||||
password:
|
||||
from_secret: OCI-REGISTRY-PASS
|
||||
dockerfile: Dockerfile
|
||||
repo: registry.mgrote.net/apt-cacher-ng
|
||||
registry: registry.mgrote.net
|
||||
tags:
|
||||
- ${DRONE_COMMIT_SHA:0:8}
|
||||
- ${DRONE_COMMIT_BRANCH}
|
||||
- latest
|
||||
|
|
Reference in a new issue