-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
45 lines (43 loc) · 1.13 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
45
name: "Wanderer Deployer"
author: "Roman Zipp"
branding:
icon: "download-cloud"
color: "red"
description: "Deploy builds to your Nomad Cluster via Wanderer"
inputs:
endpoint:
description: "The base url to your Wanderer instance"
required: true
token:
description: "The specified Wanderer authentication API token"
required: true
server:
description: "The server ID from Wanderer"
required: true
job:
description: "The Nomad job ID"
required: true
selector:
description: "The version selector as specified in Wanderer UI"
required: true
version:
description: "The new version to be deployed"
required: true
cf-access-client-id:
description: "Cloudflare Access Client Id"
required: false
cf-access-client-secret:
description: "Cloudflare Access Client Secret"
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.endpoint }}
- ${{ inputs.token }}
- ${{ inputs.server }}
- ${{ inputs.job }}
- ${{ inputs.selector }}
- ${{ inputs.version }}
- ${{ inputs.cf-access-client-id }}
- ${{ inputs.cf-access-client-secret }}