mirror of
https://github.com/BretFisher/shpod.git
synced 2026-05-21 08:52:53 +00:00
limit build action
This commit is contained in:
8
.github/workflows/docker-build-and-push.yml
vendored
8
.github/workflows/docker-build-and-push.yml
vendored
@@ -4,9 +4,17 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
# only build when important files change
|
||||
paths:
|
||||
- 'Dockerfile'
|
||||
- '.github/workflows/docker-build-and-push.yml'
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
# only build when important files change
|
||||
paths:
|
||||
- 'Dockerfile'
|
||||
- '.github/workflows/docker-build-and-push.yml'
|
||||
schedule:
|
||||
# re-run montly to keep image fesh with upstream base images
|
||||
- cron: '0 12 15 * *'
|
||||
|
||||
Reference in New Issue
Block a user