From 02d835c78afb48f9405c104799f0accbad7ed1a8 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 20 Apr 2023 13:48:25 +0200 Subject: [PATCH] ci: add new registry --- .drone.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index bf13bec..adfca94 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,29 +19,30 @@ steps: commands: - "shellcheck filter.sh" - - name: docker_build_and_push_master + - name: docker_build_and_push_selfhosted image: plugins/docker settings: - username: quotengrote + username: + from_secret: OCI-REGISTRY-USER password: - from_secret: DOCKERHUB_PASS + from_secret: OCI-REGISTRY-PASS dockerfile: Dockerfile - repo: quotengrote/miniflux-filter + repo: registry.mgrote.net/miniflux-filter + registry: registry.mgrote.net tags: - - latest - ${DRONE_COMMIT_SHA:0:8} - ${DRONE_COMMIT_BRANCH} + - latest when: - branch: - - master event: exclude: - pull_request - - name: docker_build_and_push + - name: docker_build_and_push_dockerhub image: plugins/docker settings: - username: quotengrote + username: + from_secret: DOCKERHUB_USER password: from_secret: DOCKERHUB_PASS dockerfile: Dockerfile @@ -49,6 +50,7 @@ steps: tags: - ${DRONE_COMMIT_SHA:0:8} - ${DRONE_COMMIT_BRANCH} + - latest when: event: exclude: