From c302e6da9ee3be3490ff1e33cb6063432247e789 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 20 Apr 2023 13:43:26 +0200 Subject: [PATCH] ci: sort steps --- .drone.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.drone.yml b/.drone.yml index d5557cb..15bd489 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,6 +17,21 @@ steps: - hadolint --version - hadolint Dockerfile + - 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 + - name: docker_build_and_push_dockerhub image: plugins/docker settings: @@ -34,18 +49,3 @@ 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