-
Notifications
You must be signed in to change notification settings - Fork 14
37 lines (35 loc) · 1.1 KB
/
release.yaml
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
name: release
run-name: "Release ${{ format('{0} (type: {1})', inputs.tag, inputs.release_type) }} "
on:
workflow_dispatch:
inputs:
tag:
description: The version to release (e.g. v1.2.3)
required: true
latest:
description: Whether to tag this build latest
type: boolean
default: false
release_type:
description: Whether to make a created release a pre-release
required: true
default: 'prerelease'
type: choice
options:
- prerelease
- release
jobs:
release:
uses: ./.github/workflows/__release-workflow.yaml
secrets:
dockerhub-push-token: ${{ secrets.DOCKERHUB_PUSH_TOKEN }}
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
gh-pat: ${{ secrets.PAT_GITHUB }}
with:
dockerhub-push-username: ${{ vars.DOCKERHUB_PUSH_USERNAME }}
image-name: ${{ vars.DOCKERHUB_IMAGE_NAME }}
latest: ${{ inputs.latest }}
tag: ${{ inputs.tag }}
release-type: ${{ inputs.release_type }}
regenerate-manifests: true