File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 96
96
97
97
- name : Docker meta
98
98
id : meta
99
+ if : github.event_name != 'pull_request'
99
100
uses : docker/metadata-action@v4
100
101
with :
101
102
images : quay.io/go-skynet/local-ai
@@ -107,6 +108,15 @@ jobs:
107
108
latest=${{ matrix.tag-latest }}
108
109
suffix=${{ matrix.tag-suffix }}
109
110
111
+ - name : Docker meta (ttl.sh)
112
+ id : meta
113
+ if : github.event_name == 'pull_request'
114
+ uses : docker/metadata-action@v4
115
+ with :
116
+ images : ttl.sh/local-ai-${{ github.head_ref || github.ref }}-${{ matrix.tag-suffix }}
117
+ tags : |
118
+ type=raw,value=12h
119
+
110
120
- name : Set up QEMU
111
121
uses : docker/setup-qemu-action@master
112
122
with :
@@ -136,6 +146,6 @@ jobs:
136
146
context : .
137
147
file : ./Dockerfile
138
148
platforms : ${{ matrix.platforms }}
139
- push : ${{ github.event_name != 'pull_request' }}
149
+ push : true
140
150
tags : ${{ steps.meta.outputs.tags }}
141
151
labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments