-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
33 lines (26 loc) · 855 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
name: 'Docker environment setup'
description: 'An action to easily set up a Docker build environment with some useful environment variables.'
author: 'Matteo Bilotta <[email protected]>'
branding:
icon: 'anchor'
color: 'blue'
inputs:
registry:
description: 'The registry to prepend to the Docker image name.'
required: false
repository:
description: 'The repository to use as a Docker image name.'
default: ${{ github.repository }}
shaLength:
description: 'The length to shorten the SHA to use as a Docker image tag.'
default: '7'
outputs:
shortSha:
description: 'The shortened SHA of the current commit.'
branchSlug:
description: 'The slugified version of the branch name.'
dockerImage:
description: 'The Docker image name matching the repository.'
runs:
using: 'node20'
main: './dist/index.js'