Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
Set a cron schedule to run nightly
  • Loading branch information
JohnVidler authored Aug 21, 2023
1 parent 356df76 commit ec359e1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -53,4 +56,4 @@ jobs:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit ec359e1

Please sign in to comment.