Enable workflows only on tag push and on specific directories

This commit is contained in:
Jguer 2019-10-16 03:04:01 +01:00
parent d647d29435
commit 91232f2b74
No known key found for this signature in database
GPG key ID: 6D6CC9BEA8556B35
2 changed files with 10 additions and 2 deletions

View file

@ -1,6 +1,11 @@
name: Docker CI build
# This workflow is triggered on pushes to the repository.
on: [push, pull_request]
on:
push:
paths-ignore:
- 'doc/**'
- 'completions/**'
pull_request:
jobs:
build:

View file

@ -1,5 +1,8 @@
name: Multiarch build and release
on: [push] # To change to tag in merge
on:
push:
tags:
- v**
jobs:
build-releases: