fix(ci): split drone into two separate pipelines for PR and main #4

Merged
Liosha84 merged 1 commits from develop into master 2026-10-29 00:56:57 +01:00
Showing only changes of commit 9d03b0977d - Show all commits
+12 -8
View File
@@ -1,10 +1,9 @@
kind: pipeline
type: docker
name: build-and-push
name: build-test
trigger:
event:
- push
- pull_request
steps:
@@ -13,10 +12,18 @@ steps:
settings:
dockerfile: Dockerfile
context: .
when:
event:
- pull_request
---
kind: pipeline
type: docker
name: build-and-push
trigger:
event:
- push
branch:
- main
steps:
- name: build-and-push
image: plugins/docker
settings:
@@ -29,6 +36,3 @@ steps:
from_secret: REGISTRY_USERNAME
password:
from_secret: REGISTRY_PASSWORD
when:
branch:
- main