-
Notifications
You must be signed in to change notification settings - Fork 207
82 lines (76 loc) · 2.17 KB
/
build-future.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: Future
# The `:future` tag points to a build containing unreleased versions of
# software that have been informally released to the futurenet network.
on:
workflow_call:
secrets:
DOCKERHUB_USERNAME:
required: false
DOCKERHUB_TOKEN:
required: false
inputs:
sha:
description: 'Sha to build'
type: 'string'
required: true
tag-prefix:
description: 'Prefix for the tag name'
type: 'string'
default: ''
jobs:
amd64:
uses: ./.github/workflows/build.yml
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
with:
sha: ${{ inputs.sha }}
arch: amd64
tag: ${{ inputs.tag-prefix }}future-amd64
protocol_version_default: 22
xdr_ref: v22.0.0
core_ref: v22.1.0
horizon_ref: horizon-v22.0.2
stellar_rpc_ref: v22.1.1
friendbot_ref: horizon-v22.0.2
test_matrix: |
{
"network": ["local"],
"core": ["core", null],
"horizon": ["horizon", null],
"rpc": ["rpc", null],
"options": [""]
}
arm64:
uses: ./.github/workflows/build.yml
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
with:
sha: ${{ inputs.sha }}
arch: arm64
tag: ${{ inputs.tag-prefix }}future-arm64
protocol_version_default: 22
xdr_ref: v22.0.0
core_ref: v22.1.0
horizon_ref: horizon-v22.0.2
stellar_rpc_ref: v22.1.1
friendbot_ref: horizon-v22.0.2
test_matrix: |
{
"network": ["local"],
"core": ["core", null],
"horizon": ["horizon", null],
"rpc": ["rpc", null],
"options": [""]
}
manifest:
needs: [amd64, arm64]
uses: ./.github/workflows/manifest.yml
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
with:
tag: ${{ inputs.tag-prefix }}future
tag-alias: future
images: ${{ needs.amd64.outputs.image }} ${{ needs.arm64.outputs.image }}