diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 31012a6..e9162be 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,9 @@ name: Create and publish a Docker image -on: [push] +on: + push: + schedule: + - cron: "0 0 * * *" # Defines two custom environment variables for the workflow. # These are used for the Container registry domain, and a name for the Docker image that this workflow builds. @@ -53,4 +56,4 @@ jobs: context: . push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }}