docker: only build branches main, dev
Otherwise branches will accumulate in 'Recent tagged image version' https://github.com/vogler/free-games-claimer/pkgs/container/free-games-claimer
This commit is contained in:
parent
cea5b11c95
commit
991e0a1449
1 changed files with 3 additions and 3 deletions
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
|
|
@ -1,9 +1,9 @@
|
|||
name: Build and push Docker image (amd64, arm64 to hub.docker.com and ghcr.io)
|
||||
|
||||
on:
|
||||
workflow_dispatch: # allow manual trigger
|
||||
push: # build for each branch
|
||||
# branches: ["main"]
|
||||
workflow_dispatch: # allows manual trigger
|
||||
push: # push on branch
|
||||
branches: [main, dev]
|
||||
paths: # ignore changes to .md files
|
||||
- '**'
|
||||
- '!*.md'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue