6cc6c5ef36240998bbb8fc935ba20701ed856ea0
Passing the `defaultBranch` argument to `buildContainerImage2()` allows setting the `latest` for projects where the default branch is not *main*. For example: ```groovy buildContainerImage2(defaultBranch: 'master') ``` This will update the `latest` tag whenever a new build is created on the *master* branch.
Container Images Shared Library
This shared library allows jobs to build and publish container images to Gitea very easily:
buildContainerImage()
That's it!
Description
Languages
Groovy
100%