This repository provides YAML examples and code samples to demonstrate how to configure actions and implement plugins.
The following YAML examples illustrate configurations for different types of actions:
-
Aliases
Defines shorter, alternative names for actions to simplify usage. -
Arguments and Options
Configures action arguments and options that can be supplied during execution. -
Container Image Build Definition
Specifies the container image required for building and running an action. -
Container Environment Variables
Configures environment variables accessible in the container when running an action.
Each folder contains YAML files that can serve as templates or examples for specific functionality.
This section contains examples of Go code to implement plugins and actions:
-
Action with Runtime "Plugin"
An example of creating a plugin with a runtime type of"plugin"
. It includes implementation details for customizing an action. -
Embedded Action
Shows how to embed an action directory in a binary and access it at runtime.
Reference the Action YAML Examples for related configuration examples.
These examples are foundational and can be extended or customized based on project requirements.
An overview of the repository’s organization:
actions/
Directory: Contains YAML configurations for defining and running actions.plugins/
Directory: Includes examples of Go code implementations for plugins.