-
Notifications
You must be signed in to change notification settings - Fork 3
58 lines (54 loc) · 1.46 KB
/
build.yaml
File metadata and controls
58 lines (54 loc) · 1.46 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
name: Build
on:
workflow_call:
inputs:
mode:
required: true
type: string
default: snapshot
description: |
the mode to use. either `snapshot` or `release`. Will affect effective version, as well
as target-oci-registry.
jobs:
prepare:
uses: gardener/cc-utils/.github/workflows/prepare.yaml@master
permissions:
id-token: write
with:
mode: ${{ inputs.mode }}
oci-images:
name: Build OCI-Images
uses: gardener/cc-utils/.github/workflows/oci-ocm.yaml@master
needs:
- prepare
permissions:
contents: read
packages: write
id-token: write
with:
name: signing-server
version: ${{ needs.prepare.outputs.version }}
oci-registry: ${{ needs.prepare.outputs.oci-registry }}
oci-repository: cicd/signing-server
oci-platforms: linux/amd64
ctx: oci-images
helmcharts:
name: Build Helmcharts
uses: gardener/cc-utils/.github/workflows/helmchart-ocm.yaml@master
needs:
- prepare
- oci-images
permissions:
contents: read
packages: write
id-token: write
with:
name: signing-server
dir: chart
oci-registry: ${{ needs.prepare.outputs.oci-registry }}
oci-repository: cicd/charts
ocm-mappings: |
- ref: ocm-resource:signing-server.repository
attribute: image.repository
- ref: ocm-resource:signing-server.tag
attribute: image.tag