Dagger module for daggerverse providing Git actions.
The Dagger module is located in the git-actions directory.
Basic usage guide.
The git-actions directory contains a daggerverse Dagger module.
Check the official Dagger Module documentation: https://docs.dagger.io/zenith/
The Dagger CLI is needed.
List all functions of the module. This command is provided by the Dagger CLI.
dagger functions -m ./git-actions/
The git-actions module is referenced locally.
Basic development guide.
Setup the Dagger module.
Create the directory for the module and initialize it.
mkdir git-actions/
cd git-actions/
# initialize Dagger module
dagger mod init --sdk go --name git-actions
Setup the outer module to be able to develop the Dagger git-actions module.
dagger mod init --sdk go --name modest
dagger mod use ./git-actions
Generate or re-generate the Go definitions file (dagger.gen.go) for use in code completion.
dagger mod install
The functions of the module are available by the dag
variable. Type dag.
in your Go file for code completion.
Update the module:
dagger mod update
- document functions
- Add cache mounts
- Add environment variables
- Add more examples
- Add tests