ci: change Docker workflow to run twice a month and on tag pushes
Change-Id: I2362073eba6df29db1ab1f054621805eb29429fd
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 172f8d2..e054ec3 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -1,16 +1,11 @@
name: Docker
on:
push:
- branches:
- - master
- paths-ignore:
- - '.editorconfig'
- - '.jenkins'
- - '.jenkins.d/**'
- - 'launchd/**'
- - '.mailmap'
- - 'systemd/**'
- - 'tests/**'
+ tags:
+ - 'NFD-*'
+ schedule:
+ # twice a month
+ - cron: '20 8 5,20 * *'
workflow_dispatch:
permissions: