run daily
This commit is contained in:
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
@@ -6,6 +6,8 @@ on:
|
|||||||
- master
|
- master
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
schedule:
|
||||||
|
- cron: '0 7 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
images:
|
images:
|
||||||
@@ -16,7 +18,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2.3.4
|
uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
- name: Set tag to latest
|
- name: Set tag to latest
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'schedule'
|
||||||
run: |
|
run: |
|
||||||
echo "DOCKER_TAG=latest" >> $GITHUB_ENV
|
echo "DOCKER_TAG=latest" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user