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
38 lines (37 loc) · 1002 Bytes
/
action.yml
File metadata and controls
38 lines (37 loc) · 1002 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
35
36
37
38
name: 'Cloud Run Deploy'
description: 'Authenticate with gcloud, push image to GCR and deploy as a new revision to Cloud Run'
author: 'Fréjus Gbaguidi <fh.gbaguidi@gmail.com>'
branding:
icon: 'arrow-up-circle'
color: 'green'
inputs:
image:
description: 'Name of the docker image'
required: true
registry:
description: 'Registry of the docker image'
required: true
tag:
description: 'Tag 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
key:
description: 'GCP service key with storage and run permissions'
required: true
envfile:
description: "File path to environment configuration"
required: false
serviceyamlfile:
description: "File path to GCP cloud run service yaml configuration"
required: false
runs:
using: 'docker'
image: 'Dockerfile'