Skip to content

Release v1.4.0-rc.1 (type: prerelease) (branch: main) #19

Release v1.4.0-rc.1 (type: prerelease) (branch: main)

Release v1.4.0-rc.1 (type: prerelease) (branch: main) #19

Workflow file for this run

name: release
run-name: "Release ${{ format('{0} (type: {1}) (branch: {2})', inputs.tag, inputs.release_type, github.ref_name) }} "
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 }}
konnect-pat: ${{ secrets.KONG_TEST_KONNECT_ACCESS_TOKEN }}
with:
dockerhub-push-username: ${{ vars.DOCKERHUB_PUSH_USERNAME }}
image-name: ${{ vars.DOCKERHUB_IMAGE_NAME }}
latest: ${{ inputs.latest }}
tag: ${{ inputs.tag }}
base: ${{ github.ref_name }}
release-type: ${{ inputs.release_type }}
regenerate-manifests: true