-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
50 lines (50 loc) · 1019 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# action.yml
name: 'Create GPU'
description: 'Deploy GPU and provide connection details'
inputs:
access-key:
description: 'access-key'
required: true
default: 'access-key'
secret-key:
description: 'secret-key'
required: true
default: 'secret-key'
ssh-key:
description: 'ssh-key'
required: true
default: 'ssh-key'
name:
description: 'name'
required: false
default: 'RTX_4090'
region:
description: 'region'
required: false
default: 'Europe'
image:
description: 'image'
required: false
default: 'ubuntu:latest'
count:
description: 'gpu count'
required: false
default: '1'
outputs:
uuid:
description: 'uuid'
host:
description: 'host'
port:
description: 'port'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.access-key }}
- ${{ inputs.secret-key }}
- ${{ inputs.ssh-key }}
- ${{ inputs.name }}
- ${{ inputs.region }}
- ${{ inputs.image }}
- ${{ inputs.count }}