This build step invokes the ballerina
command provided by the Ballerina Compiler distributed in Google Cloud Build.
Arguments passed to this builder will be passed to the ballerina
command directly,
allowing callers to run any ballerina
command.
For convenience, we have included different versions of the Ballerina CLI:
gcr.io/$PROJECT_ID/ballerina:v1.2.6
: provides thev1.2.6
stable branch
In order to use call one of these builder, simply invoke the builder (and version), for instance:
steps:
- name: 'gcr.io/$PROJECT_ID/ballerina'
args: ['build', '-a']
See the examples
folder for a complete example.
To build these builders, run the following command in this directory:
$ gcloud builds submit . --config=cloudbuild.yaml