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:
Ralf Vogler 2025-05-16 00:14:10 +02:00
parent cea5b11c95
commit 991e0a1449

View file

@ -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'