-
Notifications
You must be signed in to change notification settings - Fork 2
73 lines (66 loc) · 1.81 KB
/
decentr-build.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
name: decentr-build
on:
pull_request:
branches:
- main
paths:
- "bin/builder"
- "arch.Dockerfile"
- "alpine.Dockerfile"
- ".github/workflows/docker-build.yml"
- ".github/workflows/decentr-build.yml"
push:
branches:
- main
paths:
- "bin/builder"
- "arch.Dockerfile"
- "alpine.Dockerfile"
- ".github/workflows/docker-build.yml"
- ".github/workflows/decentr-build.yml"
jobs:
decentr-build:
uses: ./.github/workflows/docker-build.yml
secrets: inherit
strategy:
fail-fast: false
matrix:
#platform: ["linux/amd64", "linux/arm64"] # need arm runners
platform: ["linux/amd64"]
distro: ["alpine"]
version:
- "1.5.7"
- "1.5.8"
- "1.6.0"
- "1.6.1"
- "1.6.2"
- "1.6.3"
- "1.6.4"
include:
# Include Defaults (keep at top)
- name: "decentr"
binary: "decentrd"
build_command: "CGO_ENABLED=0 make install"
build_tags: "netgo"
go_version: "1.19"
chain_registry_name: "decentr"
repo: "Decentr-net/decentr"
os: "linux"
arch: "amd64"
- version: 1.5.7
go_version: "1.16"
- version: 1.5.8
go_version: "1.16"
with:
binary: ${{ matrix.binary }}
build_command: ${{ matrix.build_command }}
build_tags: ${{ matrix.build_tags }}
chain_registry_name: ${{ matrix.chain_registry_name }}
go_version: ${{ matrix.go_version }}
name: ${{ matrix.name }}
os: ${{ matrix.os }}
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
platform: ${{ matrix.platform }}
repo: ${{ matrix.repo }}
version: ${{ matrix.version }}