File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 45
45
type=schedule,pattern=nightly
46
46
type=semver,pattern={{version}}
47
47
type=ref,event=pr
48
+ type=sha,format=long
48
49
type=edge
49
50
50
51
- name : Depot setup
65
66
context : .
66
67
file : ./docker/${{ matrix.variant }}.dockerfile
67
68
platforms : linux/amd64,linux/arm64
68
- push : ${{ github.event_name != 'pull_request' }}
69
+ push : true
69
70
tags : ${{ steps.docker_meta.outputs.tags }}
70
71
labels : ${{ steps.docker_meta.outputs.labels }}
71
72
build-args : |
Original file line number Diff line number Diff line change
1
+ name : Image smoke test
2
+
3
+ on :
4
+ workflow_run :
5
+ workflows : [Docker]
6
+ types :
7
+ - completed
8
+ jobs :
9
+ smoke-test :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Smoke test
13
+ run : curl http://localhost:3214/health --fail-with-body
14
+ services :
15
+ manyfold :
16
+ image : ghcr.io/${{ github.repository_owner }}/manyfold-solo:sha-${{ github.sha }}
17
+ env :
18
+ SECRET_KEY_BASE : abc123
19
+ options : >-
20
+ --health-cmd "curl http://localhost:3214/health --fail-with-body"
21
+ --health-interval 10s
22
+ --health-timeout 5s
23
+ --health-retries 5
24
+ ports :
25
+ - 3214:3214
You can’t perform that action at this time.
0 commit comments