-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
30 lines (28 loc) · 926 Bytes
/
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
name: 'YC IAM Token'
description: 'GitHub Action issuing Yandex Cloud IAM Token.'
author: 'Nikolay Matrosov'
inputs:
yc-sa-json-credentials:
required: false
description: >
Json containing authorized key for Service Account.
Either "yc-sa-json-credentials" or all three of "yc-key-id", "yc-service-account-id" and "yc-private-key" is required.
More info https://cloud.yandex.ru/docs/container-registry/operations/authentication#sa-json
yc-key-id:
required: false
description: '"id" field from Service Account json key.'
yc-service-account-id:
required: false
description: '"service_account_id" field from Service Account json key.'
yc-private-key:
required: false
description: '"private_key" field from Service Account json key.'
outputs:
token:
description: 'IAM Token.'
branding:
color: blue
icon: log-in
runs:
using: 'node16'
main: 'dist/index.js'