change actions to only react to relevant files.

This commit is contained in:
Anders Rytter Hansen 2023-10-29 21:33:24 +01:00
commit 39e33e5c99
3 changed files with 7 additions and 16 deletions

View file

@ -9,11 +9,8 @@ on:
schedule:
- cron: '0 5 * * *' # 4 am every day
push:
branches: [ "main" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
paths:
- './base.Dockerfile'
env:
# Use docker.io for Docker Hub if empty