build on every push or PR to main
This commit is contained in:
parent
08fc59520c
commit
13def8ba18
1 changed files with 6 additions and 4 deletions
10
.github/workflows/docker.yml
vendored
10
.github/workflows/docker.yml
vendored
|
|
@ -1,14 +1,16 @@
|
||||||
name: Build and push Docker image (amd64, arm64 to hub.docker.com and ghcr.io)
|
name: Build and push Docker image (amd64, arm64 to hub.docker.com and ghcr.io)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch: # allow manual trigger
|
||||||
push:
|
# https://github.com/orgs/community/discussions/26276
|
||||||
branches:
|
push: # on every branch, but not for PRs from forks?
|
||||||
- "main"
|
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- ".github/**"
|
- ".github/**"
|
||||||
- ".gitignore"
|
- ".gitignore"
|
||||||
- "README.md"
|
- "README.md"
|
||||||
|
pull_request: # includes PRs from forks but only triggers on creation, not pushes?
|
||||||
|
branches:
|
||||||
|
- "main" # only PRs against main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue