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 f6175d9 commit 370dc57
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,16 @@ jobs:
driver-opts: network=host

- name: Login to Docker Hub
if: github.event_name == 'push' || github.event_name == 'schedule'
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GHCR
if: github.event_name == 'push' || github.event_name == 'schedule'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push Docker Image
Expand Down

0 comments on commit 370dc57

Please sign in to comment.