-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
35 lines (33 loc) · 944 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
# action.yml
name: 'Scala SBT Action'
author: 'Matan Keidar <[email protected]>'
description: 'SBT build tool action with docker'
inputs:
command: # id of input
description: 'Commands to run'
required: true
working-directory:
description: 'A directory to run SBT in'
required: false
default: .
docker-login-username: # Docker login username
description: 'docker login username'
required: false
docker-login-password: # Docker login password
description: 'docker login password'
required: false
docker-registry: # Docker registry
description: 'docker registry, defaults to DockerHub'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.command }}
- ${{ inputs.docker-login-username }}
- ${{ inputs.docker-login-password }}
- ${{ inputs.docker-registry }}
- ${{ inputs.working-directory }}
branding:
icon: 'package'
color: 'blue'