diff options
| author | Michael Grote | 2023-04-20 13:43:26 +0200 |
|---|---|---|
| committer | Michael Grote | 2023-04-20 13:43:26 +0200 |
| commit | c302e6da9ee3be3490ff1e33cb6063432247e789 (patch) | |
| tree | 3637588fd1a30a5cd7f6abbf5da0170c0169d564 | |
| parent | c92d967c15935eeb3f65ce801d8200de03940322 (diff) | |
ci: sort steps
| -rw-r--r-- | .drone.yml | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -17,35 +17,35 @@ steps: - hadolint --version - hadolint Dockerfile - - name: docker_build_and_push_dockerhub + - name: docker_build_and_push_selfhosted image: plugins/docker settings: username: - from_secret: DOCKERHUB_USER + from_secret: OCI-REGISTRY-USER password: - from_secret: DOCKERHUB_PASS + from_secret: OCI-REGISTRY-PASS dockerfile: Dockerfile - repo: quotengrote/python-api-server + repo: registry.mgrote.net/apt-cacher-ng + registry: registry.mgrote.net tags: - ${DRONE_COMMIT_SHA:0:8} - ${DRONE_COMMIT_BRANCH} - latest - when: - event: - exclude: - - pull_request - - name: docker_build_and_push_selfhosted + - name: docker_build_and_push_dockerhub image: plugins/docker settings: username: - from_secret: OCI-REGISTRY-USER + from_secret: DOCKERHUB_USER password: - from_secret: OCI-REGISTRY-PASS + from_secret: DOCKERHUB_PASS dockerfile: Dockerfile - repo: registry.mgrote.net/apt-cacher-ng - registry: registry.mgrote.net + repo: quotengrote/python-api-server tags: - ${DRONE_COMMIT_SHA:0:8} - ${DRONE_COMMIT_BRANCH} - latest + when: + event: + exclude: + - pull_request |