-
Notifications
You must be signed in to change notification settings - Fork 4
52 lines (52 loc) · 1.34 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
name: CI
on:
push:
branches:
- main
paths:
- src/**
- pom.xml
- .github/workflows/*
pull_request:
branches:
- main
paths:
- src/**
- pom.xml
- .github/workflows/*
jobs:
unit-test:
uses: categolj/workflows/.github/workflows/unit-test.yaml@main
build-oci-image-jvm-amd64:
needs: unit-test
uses: categolj/workflows/.github/workflows/build-oci-image-jvm.yaml@main
with:
image_name: jvm_amd64
image_file: jvm_amd64.yaml
runs_on: ubuntu-latest
build-oci-image-jvm-aarch64:
needs: unit-test
uses: categolj/workflows/.github/workflows/build-oci-image-jvm.yaml@main
with:
image_name: jvm_aarch64
image_file: jvm_aarch64.yaml
runs_on: ARM64
push-multi-arch-image-jvm:
needs:
- build-oci-image-jvm-amd64
- build-oci-image-jvm-aarch64
uses: categolj/workflows/.github/workflows/push-multi-arch-image.yaml@main
with:
prefix: jvm
save-image-jvm-amd64:
needs: build-oci-image-jvm-amd64
uses: categolj/workflows/.github/workflows/save-images.yaml@main
with:
image_name: jvm_amd64
image_file: jvm_amd64.yaml
save-image-jvm-aarch64:
needs: build-oci-image-jvm-aarch64
uses: categolj/workflows/.github/workflows/save-images.yaml@main
with:
image_name: jvm_aarch64
image_file: jvm_aarch64.yaml