If the `buildContainerImage` method is called without passing any arguments at all, the `args` object will be `null`. Attempting to access the properties of it in that case raises a `NullPointerException`. Fortunately, Groovy has a `?` operator that returns `null` when the named object is `null` and avoids accessing its properties. |
||
---|---|---|
resources | ||
vars | ||
README.md |
README.md
Container Images Shared Library
This shared library allows jobs to build and publish container images to Gitea very easily:
buildContainerImage()
That's it!