Class DockerRegistryWorkflow
java.lang.Object
io.micronaut.starter.feature.github.workflows.GitHubWorkflowFeature
io.micronaut.starter.feature.github.workflows.docker.AbstractDockerRegistryWorkflow
io.micronaut.starter.feature.github.workflows.docker.DockerRegistryWorkflow
- All Implemented Interfaces:
io.micronaut.core.naming.Described,io.micronaut.core.naming.Named,io.micronaut.core.order.Ordered,Feature
@Requires(property="micronaut.starter.feature.github.workflow.docker.registry.enabled",
value="true",
defaultValue="true")
@Singleton
public class DockerRegistryWorkflow
extends AbstractDockerRegistryWorkflow
Push to docker registry github workflow feature.
- Since:
- 2.2
- Author:
- Pavol Gressa
-
Field Summary
FieldsFields inherited from class io.micronaut.starter.feature.github.workflows.docker.AbstractDockerRegistryWorkflow
DOCKER_PASSWORD, DOCKER_REGISTRY_URL, DOCKER_REPOSITORY_PATH, DOCKER_USERNAMEFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(GeneratorContext generatorContext) Applies the feature by configuring build properties for Jib when using Maven.@NonNull StringgetName()The name of the feature.getThirdPartyDocumentation(GeneratorContext generatorContext) getTitle()getWorkflowFileName(GeneratorContext generatorContext) Methods inherited from class io.micronaut.starter.feature.github.workflows.docker.AbstractDockerRegistryWorkflow
getSecretsMethods inherited from class io.micronaut.starter.feature.github.workflows.GitHubWorkflowFeature
getCategory, isPreviewMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface io.micronaut.projectgen.core.feature.Feature
getFrameworkDocumentation, getOrder, isCommunity, isVisible, processSelectedFeatures, supports
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
DockerRegistryWorkflow
public DockerRegistryWorkflow()
-
-
Method Details
-
getTitle
- Returns:
- The title of the feature
-
getDescription
-
getThirdPartyDocumentation
- Parameters:
generatorContext- Generator Context- Returns:
- Returns a link to third party. E.g. https://hazelcast.org
-
getName
Description copied from interface:FeatureThe name of the feature. It must be unique.- Returns:
- the name of the feature
-
apply
Description copied from class:AbstractDockerRegistryWorkflowApplies the feature by configuring build properties for Jib when using Maven.- Specified by:
applyin interfaceFeature- Overrides:
applyin classAbstractDockerRegistryWorkflow- Parameters:
generatorContext- The context for project generation.
-
getWorkflowFileName
- Specified by:
getWorkflowFileNamein classAbstractDockerRegistryWorkflow
-