forked from RafikFarhad/push-to-gcr-github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (44 loc) · 1.11 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
name: Push to GCR GitHub Action
author: Rafik Farhad <rafikfarhad@gmail.com>
description: An action that build docker image and push to Google Cloud Registry
branding:
icon: feather
color: gray-dark
inputs:
gcloud_service_key:
description: Google cloud service key as json
required: true
registry:
description: The registry where the image should be pushed
required: false
default: 'gcr.io'
project_id:
description: The project id
required: true
default: my-awesome-project
image_name:
description: The image name
required: true
default: backend-server
image_tag:
description: Tag name
required: false
default: latest
dockerfile:
description: Dockerfile that will build the image
required: false
default: ""
context:
description: Docker build context
required: false
default: '.'
target:
description: Mutli-staged build target
required: false
default: ""
build_args:
description: "Pass a list of env vars as build-args for docker-build, separated by commas"
required: false
runs:
using: docker
image: Dockerfile