forked from eclipse-theia/theia-ide
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.09 KB
/
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
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build-and-push-base:
uses: ls1intum/.github/.github/workflows/build-and-push-docker-image.yml@main
with:
docker-file: images/base-ide/BaseDockerfile
image-name: ghcr.io/ls1intum/theia/base
docker-context: .
secrets: inherit
build-and-push:
needs: build-and-push-base
strategy:
matrix:
docker-context: ['.']
include:
- docker-file: images/java17-21/ToolDockerfile
image-name: ghcr.io/ls1intum/theia/java17-21
- docker-file: images/swift/ToolDockerfile
image-name: ghcr.io/ls1intum/theia/swift
build-args: |
"BUILDER_IMAGE"=swift:5.9.2-focal"
"RUNTIME_IMAGE=swift:5.9.2-focal"
"SWIFTLINT_VERSION=0.54.0"
uses: ls1intum/.github/.github/workflows/build-and-push-docker-image.yml@main
with:
docker-file: ${{ matrix.docker-file }}
image-name: ${{ matrix.image-name }}
docker-context: ${{ matrix.docker-context }}
secrets: inherit