From b9ca6517e57c8e67144b2617b88b97b510f146ab Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Thu, 21 Nov 2024 21:21:14 +0000 Subject: [PATCH] Drone configuration fix (#2) Co-authored-by: Alexey Skobkin Reviewed-on: https://git.skobk.in/skobkin/docker-murmur/pulls/2 --- .drone.yml => .drone.yml | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) rename .drone.yml => .drone.yml (64%) diff --git a/ .drone.yml b/.drone.yml similarity index 64% rename from .drone.yml rename to .drone.yml index 33a8c29..86181ef 100644 --- a/ .drone.yml +++ b/.drone.yml @@ -1,25 +1,30 @@ kind: pipeline type: docker -name: build-pr +name: build steps: - - name: build + - name: 'docker-build' image: plugins/docker settings: + repo: + from_secret: DOCKER_REPO dry_run: true purge: true - when: - event: - - pull_request - - push + +trigger: + event: + - push + branch: + exclude: + - master --- kind: pipeline type: docker -name: build-and-publish +name: publish steps: - - name: publish + - name: 'docker-publish' image: plugins/docker settings: username: @@ -31,6 +36,6 @@ steps: tags: - ${DRONE_TAG} - latest - when: - event: - - tag \ No newline at end of file +trigger: + event: + - tag \ No newline at end of file