forked from StepicOrg/epicbox-images
-
Notifications
You must be signed in to change notification settings - Fork 1
170 lines (168 loc) · 5.54 KB
/
ci.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
name: CI
on:
push:
branches:
- 'master'
- 'release/**'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}
jobs:
build_bash_image:
name: Build epicbox-base image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-base/debian/bullseye
image_name_tag: debian:bullseye
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
add_hash: false
build_clojure_image:
name: Build epicbox-clojure image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-clojure
image_name_tag: clojure:1.9.0.397
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
build_gcc_image:
name: Build epicbox-gcc image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-gcc
image_name_tag: gcc:10.2.1
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
build_go_image:
name: Build epicbox-go image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-go
image_name_tag: go:1.18.2.1
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
build_haskell_image:
name: Build epicbox-haskell image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-haskell
image_name_tag: haskell:8.8.4
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
build_hyperskill_go_image:
name: Build epicbox-hyperskill/go image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-hyperskill/go
image_name_tag: hyperskill-go:1.18.2
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
build_hyperskill_gradle_image:
name: Build epicbox-hyperskill/gradle image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-hyperskill/gradle
image_name_tag: hyperskill-gradle:7.3-jdk11
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
build_hyperskill_gradle_spring_image:
name: Build epicbox-hyperskill/gradle-spring image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-hyperskill/gradle-spring
image_name_tag: hyperskill-gradle-spring:7.3-jdk17
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
build_hyperskill_java_image:
name: Build epicbox-hyperskill/java image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-hyperskill/java
image_name_tag: hyperskill-java:17
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
build_hyperskill_node_image:
name: Build epicbox-hyperskill/node image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-hyperskill/node
image_name_tag: hyperskill-node:18.17.1
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
build_hyperskill_node_javascript_image:
name: Build epicbox-hyperskill/node-javascript image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-hyperskill/node-javascript
image_name_tag: hyperskill-node-javascript:18.17.1
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
build_hyperskill_python_image:
name: Build epicbox-hyperskill/python image
runs-on: [self-hosted, small]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build
uses: ./.github/workflows/actions/build
with:
path: epicbox-hyperskill/python
image_name_tag: hyperskill-python:3.10
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}