From 77aa84aa19d902484e4bba3e1b414dc1a9d41e6c Mon Sep 17 00:00:00 2001 From: Martin Ortbauer Date: Thu, 15 Feb 2024 19:26:09 -0500 Subject: [PATCH] disable cron job for github docker workflow --- .github/workflows/docker.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index dc24b59e3..d7497afa4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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 @@ -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' }}