-
Notifications
You must be signed in to change notification settings - Fork 3
76 lines (66 loc) · 2.29 KB
/
release.yml
File metadata and controls
76 lines (66 loc) · 2.29 KB
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
name: release
on:
push:
branches:
- main
permissions:
contents: read
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: false
jobs:
lint:
uses: platform-mesh/.github/.github/workflows/job-golang-lint.yml@9ddacafbe3260312cb1cc3f9974ad2fece8effe0
with:
useTask: true
test:
uses: platform-mesh/.github/.github/workflows/job-golang-test-source.yml@9ddacafbe3260312cb1cc3f9974ad2fece8effe0
secrets: inherit
with:
useTask: true
useLocalCoverageConfig: true
create-version:
uses: platform-mesh/.github/.github/workflows/job-create-version.yml@9ddacafbe3260312cb1cc3f9974ad2fece8effe0
secrets: inherit
permissions:
contents: write
docker-build-push:
needs: [create-version, lint, test]
uses: platform-mesh/.github/.github/workflows/job-docker-build-push.yml@9ddacafbe3260312cb1cc3f9974ad2fece8effe0
secrets: inherit
permissions:
contents: write
packages: write
id-token: write
with:
imageTagName: ghcr.io/platform-mesh/account-operator
version: ${{ needs.create-version.outputs.version }}
multiarch: true
update-version:
needs: [create-version, docker-build-push]
uses: platform-mesh/.github/.github/workflows/job-chart-version-update.yml@9ddacafbe3260312cb1cc3f9974ad2fece8effe0
secrets: inherit
with:
appVersion: ${{ needs.create-version.outputs.version }}
chart: account-operator
targetRepository: platform-mesh/helm-charts
sbom:
needs: [create-version, docker-build-push]
uses: platform-mesh/.github/.github/workflows/job-sbom.yml@9ddacafbe3260312cb1cc3f9974ad2fece8effe0
permissions:
contents: read
packages: read
with:
imageReference: ghcr.io/platform-mesh/account-operator:${{ needs.create-version.outputs.version }}
image-ocm:
needs: [create-version, docker-build-push, sbom]
uses: platform-mesh/.github/.github/workflows/job-image-ocm.yml@9ddacafbe3260312cb1cc3f9974ad2fece8effe0
secrets: inherit
permissions:
contents: read
packages: write
with:
imageReference: ghcr.io/platform-mesh/account-operator:${{ needs.create-version.outputs.version }}
appVersion: ${{ needs.create-version.outputs.version }}
repoName: account-operator
commit: ${{ github.sha }}