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' }}