forked from stefda/action-cloud-run
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
37 lines (37 loc) · 1.12 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
name: "Cloud Run with docker build and push to GCR"
description: "Authenticate with gcloud, build and push image to GCR and deploy as a new revision to Cloud Run"
author: "Bastian Kistner <[email protected]>"
branding:
icon: "arrow-up-circle"
color: "green"
inputs:
check_if_changed:
description: "Set to true to check if working_directory has changes since the previous commit"
required: false
default: "false"
working_directory:
description: "Directory where the Dockerfile is to be found"
required: true
service_name:
description: "Cloud run service name"
required: true
gcp_service_key:
description: "GCP service key with storage and run permissions"
required: true
project:
description: "GCP project"
required: true
registry:
description: "GCP Registry (e.g. 'eu.gcr.io')"
required: false
default: eu.gcr.io
region:
description: "GCP region"
required: false
default: europe-west4
env:
description: "File path to environment configuration"
required: false
runs:
using: "docker"
image: "docker://passionkind/github-action-cloud-run:latest"