-
Notifications
You must be signed in to change notification settings - Fork 15
75 lines (72 loc) · 1.86 KB
/
release.yaml
File metadata and controls
75 lines (72 loc) · 1.86 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
name: Release
on:
workflow_dispatch:
inputs:
next-version:
type: choice
options:
- bump-minor
- bump-patch
jobs:
build:
uses: ./.github/workflows/build.yaml
permissions:
contents: write
id-token: write
packages: write
with:
mode: release
release-to-github-and-bump:
uses: gardener/cc-utils/.github/workflows/release.yaml@master
needs:
- build
secrets: inherit
permissions:
contents: write
id-token: write
packages: write
with:
release-commit-target: branch
next-version: ${{ inputs.next-version }}
slack-channel-id: C01BKP30K1U # #sap-tech-gardenctl
assets: |
- name: gardenlogin_darwin_amd64
type: ocm-resource
id:
name: gardenlogin
os: darwin
architecture: amd64
- name: gardenlogin_darwin_arm64
type: ocm-resource
id:
name: gardenlogin
os: darwin
architecture: arm64
- name: gardenlogin_linux_amd64
type: ocm-resource
id:
name: gardenlogin
os: linux
architecture: amd64
- name: gardenlogin_linux_arm64
type: ocm-resource
id:
name: gardenlogin
os: linux
architecture: arm64
- name: gardenlogin_windows_amd64.exe
type: ocm-resource
id:
name: gardenlogin
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 }}