-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
41 lines (41 loc) · 1.13 KB
/
action.yaml
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
---
name: "Container image tag"
description: "Bump a semantic version tag of a container image in Github CR"
inputs:
image:
description: "ghcr.io image path"
required: true
# default: "timberhill/container-image-tag-action"
minor-pattern:
description: "Commit message pattern that indicates a minor version bump"
required: false
default: "#minor"
major-pattern:
description: "Commit message pattern that indicates a major version bump"
required: false
default: "#major"
include-v:
description: "Whether or not to include 'v' prefix in the version"
required: false
default: "false"
initial-tag:
description: "Initial tag to create on first image push or first semver"
required: false
default: "0.1.0"
debug:
description: "Enable debug logging"
required: false
default: "false"
outputs:
image-tag:
description: "The new image version"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.image }}
- ${{ inputs.minor-pattern }}
- ${{ inputs.major-pattern }}
- ${{ inputs.include-v }}
- ${{ inputs.initial-tag }}
- ${{ inputs.debug }}