Skip to content

Commit

Permalink
fix: Update cd.yml workflow to remove unnecessary release branch setu…
Browse files Browse the repository at this point in the history
…p and improve cron schedule
  • Loading branch information
MountainGod2 committed Nov 5, 2024
1 parent beba31c commit f6175d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Docker Build
on:
workflow_dispatch:
schedule:
- cron: "0 10 * * *" # Run every day at 10:00 UTC for `nightly` tag
- cron: "0 10 * * *"
push:
tags:
- "v*.*.*" # Run on version tags only
- "v*.*.*"

jobs:
docker:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Docker Image
Expand Down

0 comments on commit f6175d9

Please sign in to comment.