-
Notifications
You must be signed in to change notification settings - Fork 115
109 lines (92 loc) · 2.67 KB
/
indexer-build-docker-image-check.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
name: Indexer check building docker image for all services
on: # yamllint disable-line rule:truthy
pull_request:
paths:
- 'indexer/**'
push:
branches:
- main
- 'release/indexer/v[0-9]+.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x
paths:
- 'indexer/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
# Build and push
call-build-ecs-service-ender:
uses: ./.github/workflows/indexer-reusable-build-and-run-docker-image.yml
with:
SERVICE: ender
secrets: inherit
call-build-ecs-service-comlink:
uses: ./.github/workflows/indexer-reusable-build-and-run-docker-image.yml
with:
SERVICE: comlink
secrets: inherit
call-build-ecs-service-socks:
uses: ./.github/workflows/indexer-reusable-build-and-run-docker-image.yml
with:
SERVICE: socks
secrets: inherit
call-build-ecs-service-roundtable:
uses: ./.github/workflows/indexer-reusable-build-and-run-docker-image.yml
with:
SERVICE: roundtable
secrets: inherit
call-build-ecs-service-vulcan:
uses: ./.github/workflows/indexer-reusable-build-and-run-docker-image.yml
with:
SERVICE: vulcan
secrets: inherit
check-build-bazooka:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./indexer
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install pnpm
run:
npm install -g [email protected]
- name: Build and install
run: |
pnpm install --loglevel warn --frozen-lockfile
pnpm run build:prod:all
- name: Build docker image for bazooka
id: build-image
run: |
DOCKER_BUILDKIT=1 docker build \
--platform amd64 \
-f Dockerfile.bazooka.remote .
check-build-auxo:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./indexer
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install pnpm
run:
npm install -g [email protected]
- name: Build and install
run: |
pnpm install --loglevel warn --frozen-lockfile
pnpm run build:prod:all
- name: Build docker image for auxo
id: build-image
run: |
DOCKER_BUILDKIT=1 docker build \
--platform amd64 \
-f Dockerfile.auxo.remote .