-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
34 lines (32 loc) · 1 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
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.'
mask-token:
required: false
description: 'Mask generated IAM token'
default: 'true'
outputs:
token:
description: 'IAM Token.'
branding:
color: blue
icon: log-in
runs:
using: 'node20'
main: 'dist/index.js'