Skip to content

Commit f3ee113

Browse files
committed
feat(ci): introduce hadolint
For linting of Dockerfile.
1 parent 010ce6a commit f3ee113

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/hadolint.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright © Michal Čihař <[email protected]>
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
# This file is maintained in https://github.com/WeblateOrg/meta/
6+
name: Hadolint
7+
8+
on:
9+
push:
10+
branches-ignore:
11+
- deepsource-fix-**
12+
- renovate/**
13+
- weblate
14+
pull_request:
15+
16+
permissions:
17+
contents: read
18+
19+
jobs:
20+
hadolint:
21+
22+
runs-on: ubuntu-24.04
23+
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: hadolint/[email protected]

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ LABEL org.opencontainers.image.title="Weblate"
1616
LABEL org.opencontainers.image.description="A web-based continuous localization system with tight version control integration"
1717
LABEL org.opencontainers.image.licenses="MIT"
1818

19+
# hadolint ignore=DL3008
1920
RUN \
2021
export DEBIAN_FRONTEND=noninteractive \
2122
&& apt-get update \

0 commit comments

Comments
 (0)