Only trigger builds on tags

Also change the step name to "build"
This commit is contained in:
Lukáš Kucharczyk 2021-04-13 14:03:18 +02:00
parent 61debe218b
commit c6dcb8ec06
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 4 additions and 2 deletions

View File

@ -2,10 +2,12 @@ kind: pipeline
name: build image
steps:
- name: docker
- name: build
image: plugins/docker
settings:
repo: registry.kucharczyk.xyz/nextcloud
tags: latest
trigger:
ref:
- refs/tags/*