forked from stefda/action-cloud-run
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
34 lines (34 loc) · 904 Bytes
/
action.yml
File metadata and controls
34 lines (34 loc) · 904 Bytes
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
name: 'Cloud Run w/ CloudSQL'
description: 'Authenticate with gcloud, push image to GCR and deploy as a new revision to Cloud Run, allow CloudSQL connection'
author: 'Nuttapat Koonarangsri'
branding:
icon: 'arrow-up-circle'
color: 'green'
inputs:
image:
description: 'Name of the docker image'
required: true
service:
description: 'Name of the service in Cloud Run'
required: true
project:
description: 'GCP project'
required: true
region:
description: 'GCP region'
required: true
service key:
description: 'GCP service key with storage and run permissions'
required: true
cloud_sql:
description: 'CloudSQL instance name'
required: false
env:
description: 'Environment variables file'
required: false
min_instances:
description: 'Minimum number of instance'
required: false
runs:
using: 'docker'
image: 'Dockerfile'