We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77cd794 commit 0776e67Copy full SHA for 0776e67
.github/workflows/release-ghcr.yml
@@ -4,10 +4,12 @@ on:
4
release:
5
types:
6
- published
7
- push:
8
- tags:
9
- - '**'
+ push: {}
+ pull_request: {}
10
workflow_dispatch: {}
+ schedule:
11
+ # Everyday at 4:00 AM UTC
12
+ - cron: "0 4 * * *"
13
14
env:
15
REGISTRY: ghcr.io
@@ -46,6 +48,7 @@ jobs:
46
48
password: ${{ secrets.GITHUB_TOKEN }}
47
49
50
- name: Upload to ghcr.io
51
+ if: ${{ github.ref_type == 'tags' || github.event_name == 'release' }}
52
run: |
53
# Downcase the package repository, because docker reference
54
# are required to be lower case
0 commit comments