File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 4
4
release :
5
5
types :
6
6
- published
7
- push :
8
- tags :
9
- - ' **'
7
+ push : {}
8
+ pull_request : {}
10
9
workflow_dispatch : {}
10
+ schedule :
11
+ # Everyday at 4:00 AM UTC
12
+ - cron : " 0 4 * * *"
11
13
12
14
env :
13
15
REGISTRY : ghcr.io
52
54
echo "IMAGE_TAG=${IMAGE_TAG}" >> "$GITHUB_ENV"
53
55
54
56
- name : Upload ${{ github.actor }}/cardano-db-sync
57
+ if : ${{ github.ref_type == 'tags' || github.event_name == 'release' }}
55
58
run : |
56
59
# Download the image from the nix binary cachhe
57
60
nix build --builders "" --max-jobs 0 .#cardano-db-sync-docker
67
70
docker://ghcr.io/${REPO_OWNER}/cardano-db-sync:latest
68
71
69
72
- name : Upload ${{ github.actor }}/cardano-smash-server
73
+ if : ${{ github.ref_type == 'tags' || github.event_name == 'release' }}
70
74
run : |
71
75
# Download the image from the nix binary cachhe
72
76
nix build --builders "" --max-jobs 0 .#cardano-smash-server-docker
You can’t perform that action at this time.
0 commit comments