ci: new registry

This commit is contained in:
Michael Grote 2023-04-20 11:55:29 +02:00
parent d932f0cb5c
commit d8b2881b18

View file

@ -23,35 +23,15 @@ steps:
image: plugins/docker image: plugins/docker
settings: settings:
username: username:
from_secret: DOCKERHUB_USER from_secret: OCI_REGISTRY_USER
password: password:
from_secret: DOCKERHUB_PASS from_secret: OCI_REGISTRY_PASS
dockerfile: Dockerfile dockerfile: Dockerfile
repo: quotengrote/allzweckcontainer repo: registry.mgrote.net/allzweckcontainer
tags: tags:
- latest - latest
- ${DRONE_COMMIT_SHA:0:8} - ${DRONE_COMMIT_SHA:0:8}
- ${DRONE_COMMIT_BRANCH} - ${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: event:
exclude: exclude:
- pull_request - pull_request