Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate reusable workflows for provider package publishing #1693

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/publish-provider-packages.yaml
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-aws
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 }}
Loading