Skip to content

Commit f607dae

Browse files
authored
Merge pull request #133 from Staffbase/fix-dockerfile-and-release
Fix Dockerfile and Release Template
2 parents b17880f + 3009d5e commit f607dae

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.github/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name-template: "$RESOLVED_VERSION"
1+
name-template: "v$RESOLVED_VERSION"
22
tag-template: "v$RESOLVED_VERSION"
33
categories:
44
- title: "🚀 Features"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN export CGO_ENABLED=0 && go build -o ./yamllint-action .
1919
FROM python:3.13.1-alpine3.19
2020
RUN pip install --no-cache-dir yamllint==1.35.1 && \
2121
adduser --disabled-password --gecos "" --home "/nonexistent" --shell "/sbin/nologin" --no-create-home --uid 10001 appuser
22-
COPY --from=build /yamllint-action/yamllint-action /script_exporter
22+
COPY --from=build /yamllint-action/yamllint-action /yamllint-action
2323
COPY entrypoint.sh /entrypoint.sh
2424
USER appuser:appuser
2525
ENTRYPOINT ["/entrypoint.sh"]

action.yaml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
1-
name: 'YAML Lint and Annotate'
2-
description: 'Lints yaml files and annotates every finding'
3-
author: 'Staffbase GmbH'
1+
name: "YAML Lint and Annotate"
2+
description: "Lints yaml files and annotates every finding"
3+
author: "Staffbase SE"
44

55
inputs:
66
action-name:
7-
description: 'Name of the running action'
8-
default: 'yamllint'
7+
description: "Name of the running action"
8+
default: "yamllint"
99
required: false
1010
target-path:
11-
description: 'Path to directory containing the yaml files (processed recursively)'
11+
description:
12+
"Path to directory containing the yaml files (processed recursively)"
1213
required: true
1314
token:
14-
description: 'Used to annotate findings'
15+
description: "Used to annotate findings"
1516
default: ${{ github.token }}
1617
required: true
1718

1819
runs:
1920
using: docker
20-
image: docker://staffbase/yamllint-action
21+
image: Dockerfile
2122
env:
2223
TARGET_PATH: ${{ inputs.target-path }}
2324
ACTION_NAME: ${{ inputs.action-name }}
2425
GITHUB_TOKEN: ${{ inputs.token }}
2526

2627
branding:
27-
icon: 'check-square'
28-
color: 'blue'
28+
icon: "check-square"
29+
color: "blue"

0 commit comments

Comments
 (0)