Skip to content

Commit

Permalink
Integrate reusable workflow for provider package publishing
Browse files Browse the repository at this point in the history
Signed-off-by: Fatih Türken <turkenf@gmail.com>
  • Loading branch information
turkenf committed Feb 20, 2025
1 parent 966f463 commit efa6d64
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish-provider-package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish Provider Package

on:
workflow_dispatch:
inputs:
version:
description: "Version string to use while publishing the package (e.g. v1.0.0-alpha.1)"
default: ''
required: false
go-version:
description: 'Go version to use if building needs to be done'
default: '1.23'
required: false

jobs:
publish-provider-package:
uses: crossplane-contrib/provider-workflows/.github/workflows/publish-provider-non-family.yml@main
with:
repository: provider-helm
version: ${{ github.event.inputs.version }}
go-version: ${{ github.event.inputs.go-version }}
cleanup-disk: true
secrets:
GHCR_PAT: ${{ secrets.GITHUB_TOKEN }}
XPKG_UPBOUND_TOKEN: ${{ secrets.XPKG_UPBOUND_TOKEN }}

0 comments on commit efa6d64

Please sign in to comment.