-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (44 loc) · 1.08 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
name: ci
on:
workflow_dispatch:
push:
branches-ignore:
- "preview/**"
paths-ignore:
# - .github
# - .scripts
# - .charts
- kustomize
- LICENSE
- README.md
- build.sh
- build.ps1
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
jobs:
versioning:
uses: ./.github/workflows/versioning.yml
app:
uses: ./.github/workflows/build-app.yml
needs: versioning
with:
fullSemVer: ${{ needs.versioning.outputs.fullSemVer }}
image:
uses: ./.github/workflows/build-image.yml
needs: [versioning, app]
with:
tag: ${{ needs.versioning.outputs.semVer }}
chart:
uses: ./.github/workflows/build-chart.yml
needs: [versioning, app, image]
if: github.ref == 'refs/heads/main'
with:
semVer: ${{ needs.versioning.outputs.semVer }}
release:
needs: [versioning, app, image, chart]
if: github.ref == 'refs/heads/main'
uses: f2calv/gha-workflows/.github/workflows/gha-release-versioning.yml@v1
with:
tag-prefix: ''
move-major-tag: false