File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Nightly CI
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 0 2 * * *'
6
+
7
+ jobs :
8
+
9
+ build-nightly-server :
10
+ runs-on : ubuntu-latest
11
+ env :
12
+ BUILDAH_FORMAT : oci
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Build the nightly server image
16
+ run : make build-nightly-server
17
+
18
+ test-nightly-server :
19
+ # needs: build-nightly-server
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+ - name : Test the nightly server image
24
+ run : make test-nightly-server
25
+
26
+ push :
27
+
28
+ # verify it passes build and test first
29
+ needs : test-nightly-server
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - uses : actions/checkout@v2
33
+ - name : log in to quay.io
34
+ run : podman login -u "${{ secrets.QUAY_USER }}" -p "${{ secrets.QUAY_PASS }}" quay.io
35
+ - name : push nightly server image
36
+ # note: forcing use of podman here, since we did podman login above
37
+ run : make CONTAINER_CMD=podman push-nightly-server
You can’t perform that action at this time.
0 commit comments