Xavier123
Xavier123

Reputation: 145

Create GitHub release using CloudBuild

I have everyting automated with CloudBuild and additionally I'd like to create a GitHub release using the CloudBuild. In short, I prepare binary files and then I want to create a GitHub release using those files.

I cannot find any working example. What should the appropriate step look like? Additionally, I'm not sure about the authentication between GitHub <-> CloudBuild.

Upvotes: 0

Views: 473

Answers (1)

Divyani Yadav
Divyani Yadav

Reputation: 1142

  • You can refer to the Documentation (click GitHub cli tab) where how to create a release using CLI is explained stepwise.
  • There is also a separated command Doc for how to add files to the release.
  • To use Github Cli in cloud build , the best Practice would be to use community builder , for more information how to use it you can refer to the Documentation where Readme contains a more detailed view.

For more information, you can visit to the Public Documentation where it is mentioned as :

This page explains how to use community-contributed builders and custom builders in Cloud Build. The Cloud Build developer community provides open-source builders that you can use to execute your tasks. If the task you want to perform requires capabilities that are not provided by an existing image, you can build your own custom image and use it in a build step. To learn about the different types of builders, see Cloud Builders.

Upvotes: 1

Related Questions