From 9c8c45d17bba89d63fdc034fb7ab5c67d64264b5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 May 2024 09:17:15 +0200 Subject: [PATCH] feat(actions): update aws-actions/amazon-ecs-render-task-definition@v1 (#1442) Created automatically. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../amazon-ecs-render-task-definition/v1/commit-hash.txt | 2 +- .../awsactions/AmazonEcsRenderTaskDefinitionV1.kt | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/actions/aws-actions/amazon-ecs-render-task-definition/v1/commit-hash.txt b/actions/aws-actions/amazon-ecs-render-task-definition/v1/commit-hash.txt index 302be4ca8..abf76b001 100644 --- a/actions/aws-actions/amazon-ecs-render-task-definition/v1/commit-hash.txt +++ b/actions/aws-actions/amazon-ecs-render-task-definition/v1/commit-hash.txt @@ -1 +1 @@ -4225e0b507142a2e432b018bc3ccb728559b437a \ No newline at end of file +5f07eab76e1851cbd4e07dea0f3ed53b304475bd \ No newline at end of file diff --git a/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/awsactions/AmazonEcsRenderTaskDefinitionV1.kt b/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/awsactions/AmazonEcsRenderTaskDefinitionV1.kt index 8188e6b84..5f7c5f62a 100644 --- a/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/awsactions/AmazonEcsRenderTaskDefinitionV1.kt +++ b/github-workflows-kt/src/gen/kotlin/io/github/typesafegithub/workflows/actions/awsactions/AmazonEcsRenderTaskDefinitionV1.kt @@ -38,6 +38,7 @@ import kotlin.collections.toTypedArray * of the form key=value, you can specify multiple variables with multi-line YAML strings. * @param dockerLabels Create/Override options inside dockerLabels. Each variable is key=value, you * can specify multiple variables with multi-line YAML. + * @param command The command used by ECS to start the container image * @param _customInputs Type-unsafe map where you can put any inputs that are not yet supported by * the binding * @param _customVersion Allows overriding action's version, for example to use a specific minor @@ -76,6 +77,10 @@ public data class AmazonEcsRenderTaskDefinitionV1 private constructor( * multiple variables with multi-line YAML. */ public val dockerLabels: List? = null, + /** + * The command used by ECS to start the container image + */ + public val command: String? = null, /** * Type-unsafe map where you can put any inputs that are not yet supported by the binding */ @@ -96,13 +101,14 @@ public data class AmazonEcsRenderTaskDefinitionV1 private constructor( logConfigurationLogDriver: String? = null, logConfigurationOptions: List? = null, dockerLabels: List? = null, + command: String? = null, _customInputs: Map = mapOf(), _customVersion: String? = null, ) : this(taskDefinition=taskDefinition, containerName=containerName, image=image, environmentVariables=environmentVariables, logConfigurationLogDriver=logConfigurationLogDriver, logConfigurationOptions=logConfigurationOptions, dockerLabels=dockerLabels, - _customInputs=_customInputs, _customVersion=_customVersion) + command=command, _customInputs=_customInputs, _customVersion=_customVersion) @Suppress("SpreadOperator") override fun toYamlArguments(): LinkedHashMap = linkedMapOf( @@ -114,6 +120,7 @@ public data class AmazonEcsRenderTaskDefinitionV1 private constructor( logConfigurationLogDriver?.let { "log-configuration-log-driver" to it }, logConfigurationOptions?.let { "log-configuration-options" to it.joinToString("\n") }, dockerLabels?.let { "docker-labels" to it.joinToString("\n") }, + command?.let { "command" to it }, *_customInputs.toList().toTypedArray(), ).toTypedArray() )