diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 8539391..1467cea 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -4,6 +4,8 @@ name: Build and Push Docker Image # This workflow is manually triggered from the "Actions" tab in GitHub. # It requires a single input: the version tag of the flood repository to use. on: + schedule: + - cron: '0 0 2 * *' # This runs at midnight on the first day of every month workflow_dispatch: jobs: @@ -30,4 +32,4 @@ jobs: docker build . -t ${{ env.IMAGE_NAME }} - name: Push the Docker image - run: docker push ${{ env.IMAGE_NAME }} \ No newline at end of file + run: docker push ${{ env.IMAGE_NAME }}