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: schedule:
- cron: '0 5 * * *' # 4 am every day - cron: '0 5 * * *' # 4 am every day
push: push:
branches: [ "main" ] paths:
# Publish semver tags as releases. - './base.Dockerfile'
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main" ]
env: env:
# Use docker.io for Docker Hub if empty # Use docker.io for Docker Hub if empty

View file

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

View file

@ -1,4 +1,4 @@
name: Docker name: os
# This workflow uses actions that are not certified by GitHub. # This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by # They are provided by a third-party and are governed by
@ -9,11 +9,8 @@ on:
schedule: schedule:
- cron: '0 6 * * 6' # 6 am on Saturdays - cron: '0 6 * * 6' # 6 am on Saturdays
push: push:
branches: [ "main", "testing", "testing-gpuscreenrecorder","testing-tags","newest-kernel", "lto-kernel", "lts-kernel" ] paths:
# Publish semver tags as releases. - './Dockerfile'
tags: [ 'v*.*.*' ]
pull_request:
branches: [ "main", "testing", "testing-gpuscreenrecorder","testing-tags","newest-kernel", "lto-kernel" ]
env: env:
# Use docker.io for Docker Hub if empty # Use docker.io for Docker Hub if empty