From efa6d640eb2c16390e447c3d1ea170ba520bee6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20T=C3=BCrken?= Date: Thu, 20 Feb 2025 17:32:17 +0300 Subject: [PATCH] Integrate reusable workflow for provider package publishing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fatih Türken --- .../workflows/publish-provider-package.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/publish-provider-package.yaml diff --git a/.github/workflows/publish-provider-package.yaml b/.github/workflows/publish-provider-package.yaml new file mode 100644 index 0000000..26effdd --- /dev/null +++ b/.github/workflows/publish-provider-package.yaml @@ -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 }}