-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
33 lines (33 loc) · 1.15 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
name: 'YC Deploy Container to Instance Group'
description: 'GitHub Action to deploy container to Instance group in Yandex Cloud'
author: 'Nikolay Matrosov'
inputs:
yc-sa-json-credentials:
required: true
description: 'Json containing authorized key for Service Account. More info https://cloud.yandex.ru/docs/container-registry/operations/authentication#sa-json'
folder-id:
required: true
description: 'Folder ID'
ig-spec-path:
required: true
description: >-
Path to the `spec.yaml` file inside repo.
YAML should contain object described in
https://github.com/yandex-cloud/cloudapi/blob/master/yandex/cloud/compute/v1/instancegroup/instance_group_service.proto#L219
user-data-path:
required: true
description: 'Path to the `user-data.yaml` file inside repo.'
docker-compose-path:
required: true
description: 'Path to the `docker-compose.yaml` file inside repo.'
outputs:
instance-group-id:
description: 'Instance Group ID'
created:
description: 'A flag that indicates whether instance was created or updated'
branding:
color: blue
icon: upload-cloud
runs:
using: 'node20'
main: 'dist/index.js'