ci: add new registry

This commit is contained in:
Michael Grote 2023-04-20 13:39:53 +02:00
parent bd78ec158b
commit 54fc4ee05d

View file

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