forked from cs3org/reva
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (39 loc) · 904 Bytes
/
compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Compose
on:
workflow_call:
inputs:
test:
required: true
type: string
image:
required: true
type: string
submodules:
type: boolean
parts:
type: number
part:
type: number
jobs:
compose:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: ${{ inputs.submodules }}
- name: Download image
uses: ishworkh/docker-image-artifact-download@v1
with:
image: ${{ inputs.image }}
- name: Test
run: make ${{ inputs.test }} -o docker-revad
env:
REVAD_IMAGE: ${{ inputs.image }}
PARTS: ${{ inputs.parts }}
PART: ${{ inputs.part }}
- name: Clean
if: always()
run: make docker-clean
env:
REVAD_IMAGE: ${{ inputs.image }}