-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #734 from sergenyalcin/integrate-reusable-workflows
Integrate reusable workflows for provider package publishing
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Publish Provider Packages | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
subpackages: | ||
description: 'Subpackages to be built individually (e.g. config ec2)' | ||
default: 'config' | ||
required: false | ||
size: | ||
description: "Number of smaller provider packages to build and push with each build job" | ||
default: '30' | ||
required: true | ||
concurrency: | ||
description: "Number of parallel package builds within each build job" | ||
default: '1' | ||
required: false | ||
version: | ||
description: "Version string to use while publishing the packages (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-packages: | ||
uses: crossplane-contrib/provider-workflows/.github/workflows/publish-provider-family.yml@main | ||
with: | ||
subpackages: ${{ github.event.inputs.subpackages }} | ||
size: ${{ github.event.inputs.size }} | ||
concurrency: ${{ github.event.inputs.concurrency }} | ||
repository: provider-gcp | ||
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 }} |