forked from awslabs/amazon-app-runner-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
54 lines (54 loc) · 1.73 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: 'Amazon App Runner "Deploy Service" Action for GitHub Actions'
description: 'Registers and deploys the application as App Runner service'
branding:
icon: 'cloud'
color: 'orange'
inputs:
service:
description: 'The name of the App Runner service'
required: true
source-connection-arn:
description: 'ARN for the `GitHubConnection` in App Runner'
required: false
access-role-arn:
description: 'ARN for IAM Role, if the App Runner service is configured with ECR image'
required: false
repo:
description: "GitHub source repository URL"
required: false
branch:
description: "Repository branch name"
required: false
image:
description: 'Docker image URI with tag'
required: false
runtime:
description: 'Runtime of the application, note: AppRunner only supports the following runtime types: PYTHON_3 | NODEJS_12 | NODEJS_14 | CORRETTO_8 | CORRETTO_11'
required: false
build-command:
description: "Application build command"
required: false
start-command:
description: "Application start command"
required: false
port:
description: "The service uses this TCP port"
required: false
region:
description: "AWS deployment region"
required: false
cpu:
description: 'CPU for the service, defaults to 1 vCPU'
required: false
memory:
description: 'Memory for the service, defaults to 2 GB'
required: false
wait-for-service-stability:
description: 'Whether to wait for the App Runner service to reach stable state after deploying the new task definition. Valid value is "true". Will default to not waiting.'
required: false
outputs:
service-id:
description: 'App Runner service ID'
runs:
using: 'node12'
main: 'dist/index.js'