-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (34 loc) · 1009 Bytes
/
ci-global.yaml
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
name: CI (global trustify CI)
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_call:
concurrency:
group: ci-global-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-upload-for-global-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: save trustify-ui image
run: |
docker build . -t ghcr.io/trustification/trustify-ui:pr-test -f Dockerfile
docker save -o /tmp/trustify-ui.tar ghcr.io/trustification/trustify-ui:pr-test
- name: Upload trustify-ui image as artifact
uses: actions/upload-artifact@v3
with:
name: trustify-ui
path: /tmp/trustify-ui.tar
retention-days: 1
run-global-ci:
needs: build-and-upload-for-global-ci
uses: trustification/trustify-ci/.github/workflows/global-ci.yml@main
with:
artifact: trustify-ui
ui_image: ghcr.io/trustification/trustify-ui:pr-test
run_api_tests: false