Class AbstractDockerRegistryWorkflow

java.lang.Object
io.micronaut.starter.feature.github.workflows.GitHubWorkflowFeature
io.micronaut.starter.feature.github.workflows.docker.AbstractDockerRegistryWorkflow
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, Feature
Direct Known Subclasses:
AbstractAzureContainerInstanceWorkflow, AbstractCloudRunWorkflow, AbstractOracleFunctionsWorkflow, DockerRegistryWorkflow, GraalVMDockerRegistryWorkflow

public abstract class AbstractDockerRegistryWorkflow extends GitHubWorkflowFeature
Abstract docker registry workflow.
Since:
2.2
Author:
Pavol Gressa
  • Field Details

  • Constructor Details

    • AbstractDockerRegistryWorkflow

      public AbstractDockerRegistryWorkflow()
  • Method Details

    • getSecrets

      public List<Secret> getSecrets()
      Description copied from class: GitHubWorkflowFeature
      Returns a list of secrets required by the GitHub workflow.

      Subclasses may override this method to provide specific secrets needed for their workflow configuration.

      Overrides:
      getSecrets in class GitHubWorkflowFeature
      Returns:
      a list of Secret instances, or an empty list if none are required
    • apply

      public void apply(GeneratorContext generatorContext)
      Applies the feature by configuring build properties for Jib when using Maven.
      Parameters:
      generatorContext - The context for project generation.
    • getWorkflowFileName

      public abstract String getWorkflowFileName(GeneratorContext generatorContext)