-
Notifications
You must be signed in to change notification settings - Fork 15
77 lines (73 loc) · 1.8 KB
/
Copy pathrelease.yaml
File metadata and controls
77 lines (73 loc) · 1.8 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
77
name: Release
on:
workflow_dispatch:
inputs:
next-version:
type: choice
options:
- bump-minor
- bump-patch
jobs:
build:
uses: ./.github/workflows/build.yaml
with:
mode: release
secrets: inherit
permissions:
contents: read
packages: write
id-token: write
release-to-github-and-bump:
uses: gardener/cc-utils/.github/workflows/release.yaml@v1
needs:
- build
permissions:
contents: write
packages: write
id-token: write
secrets: inherit
with:
release-commit-target: branch
next-version: ${{ inputs.next-version }}
slack-channel-id: C9CEBQPGE # #sap-tech-gardener
assets: |
- name: diki-darwin-amd64
type: ocm-resource
id:
name: diki
os: darwin
architecture: amd64
- name: diki-darwin-arm64
type: ocm-resource
id:
name: diki
os: darwin
architecture: arm64
- name: diki-linux-amd64
type: ocm-resource
id:
name: diki
os: linux
architecture: amd64
- name: diki-linux-arm64
type: ocm-resource
id:
name: diki
os: linux
architecture: arm64
- name: diki-windows-amd64.exe
type: ocm-resource
id:
name: diki
os: windows
architecture: amd64
publish-to-package-repositories:
permissions:
contents: write
actions: read
needs:
- release-to-github-and-bump
secrets: inherit
uses: ./.github/workflows/publish-to-package-repositories.yaml
with:
component-descriptor: ${{ needs.release-to-github-and-bump.outputs.component-descriptor }}