Drone configuration fix #2

Merged
skobkin merged 6 commits from forgejo_drone into master 2024-11-21 21:21:14 +00:00
Showing only changes of commit 9654018b77 - Show all commits

View file

@ -1,25 +1,26 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: build-pr name: build
steps: steps:
- name: build - name: 'docker_build'
image: plugins/docker image: plugins/docker
settings: settings:
dry_run: true dry_run: true
purge: true purge: true
when:
event: trigger:
- pull_request event:
- push - pull_request
- push
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: build-and-publish name: publish
steps: steps:
- name: publish - name: 'docker_publish'
image: plugins/docker image: plugins/docker
settings: settings:
username: username:
@ -31,6 +32,6 @@ steps:
tags: tags:
- ${DRONE_TAG} - ${DRONE_TAG}
- latest - latest
when: trigger:
event: event:
- tag - tag