Skip to content

Commit

Permalink
disable cron job for github docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mortbauer committed Feb 16, 2024
1 parent fc4618d commit 77aa84a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ on:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
Expand All @@ -23,7 +22,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
context: .
push: ${{ !github.event_name != 'pull_request' }}
Expand Down

0 comments on commit 77aa84a

Please sign in to comment.