generated from quarkiverse/quarkiverse-template
-
Notifications
You must be signed in to change notification settings - Fork 51
48 lines (44 loc) · 1.17 KB
/
release-perform.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
name: Quarkiverse Perform Release
run-name: Perform ${{github.event.inputs.tag || github.ref_name}} Release
on:
push:
tags:
- '*'
workflow_dispatch:
inputs:
tag:
type: string
description: 'Tag to release'
required: true
ref:
description: 'Branch or tag to deploy'
type: string
required: false
dry_run:
description: 'Dry run the release'
required: false
type: boolean
default: false
permissions:
attestations: write
id-token: write
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
perform-release:
name: Perform Release
uses: quarkiverse/.github/.github/workflows/perform-release.yml@main
secrets: inherit
with:
version: ${{github.event.inputs.tag || github.ref_name}}
update-quarkus-platform:
needs:
- perform-release
uses: ./.github/workflows/release-update-quarkus-platform.yml
if: "${{needs.prepare-platform-pr.outputs.released}}"
with:
tag: ${{github.event.inputs.tag || github.ref_name}}
secrets:
qosdk-bot-token: ${{ secrets.QOSDK_BOT_TOKEN }}