Skip to content

Commit 991e0a1

Browse files
committed
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
1 parent cea5b11 commit 991e0a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Build and push Docker image (amd64, arm64 to hub.docker.com and ghcr.io)
22

33
on:
4-
workflow_dispatch: # allow manual trigger
5-
push: # build for each branch
6-
# branches: ["main"]
4+
workflow_dispatch: # allows manual trigger
5+
push: # push on branch
6+
branches: [main, dev]
77
paths: # ignore changes to .md files
88
- '**'
99
- '!*.md'

0 commit comments

Comments
 (0)