Skip to content

Commit

Permalink
refactor: Update Docker Build workflow to remove branch restriction f…
Browse files Browse the repository at this point in the history
…or push event
  • Loading branch information
MountainGod2 committed Oct 30, 2024
1 parent 40fa6f5 commit 9c08c2e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,10 @@ name: Docker Build
on:
workflow_dispatch:
schedule:
- cron: "0 10 * * *"
- cron: "0 10 * * *" # Run every day at 10:00 UTC for `nightly` tag
push:
tags:
- "v*.*.*"
branches:
- main
- develop
- "v*.*.*" # Run on version tags only

jobs:
docker:
Expand All @@ -19,7 +16,6 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
# list of Docker images to use as base name for tags
images: |
ghcr.io/mountaingod2/chaturbate_poller
docker.io/mountaingod2/chaturbate_poller
Expand Down

0 comments on commit 9c08c2e

Please sign in to comment.