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)
|
name: Build and push Docker image (amd64, arm64 to hub.docker.com and ghcr.io)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: # allow manual trigger
|
workflow_dispatch: # allows manual trigger
|
||||||
push: # build for each branch
|
push: # push on branch
|
||||||
# branches: ["main"]
|
branches: [main, dev]
|
||||||
paths: # ignore changes to .md files
|
paths: # ignore changes to .md files
|
||||||
- '**'
|
- '**'
|
||||||
- '!*.md'
|
- '!*.md'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue