Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# repos:
# - repo: https://github.com/devblac/docker-lint
# rev: v0.1.1
# rev: v0.1.2
# hooks:
# - id: docker-lint # builds docker-lint with Go
# # or
Expand All @@ -24,7 +24,7 @@
- id: docker-lint-docker
name: docker-lint (Docker)
description: Lint Dockerfiles with the docker-lint container image; needs Docker but not Go.
entry: ghcr.io/devblac/docker-lint:0.1.1
entry: ghcr.io/devblac/docker-lint:0.1.2
language: docker_image
files: *dockerfiles
exclude: *not-dockerfiles
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.2] - 2026-11-17

### Added
- Major and minor version tags for the GitHub Action: `@v0` and `@v0.1` follow
the newest release in their line and install that release of docker-lint, as
Expand Down Expand Up @@ -145,6 +147,7 @@ Tagged but never published. A review of the draft release found the problems
fixed in 0.1.1, and the tag could not be moved because the Go module proxy had
already cached it. Use 0.1.1 instead.

[Unreleased]: https://github.com/devblac/docker-lint/compare/v0.1.1...HEAD
[Unreleased]: https://github.com/devblac/docker-lint/compare/v0.1.2...HEAD
[0.1.2]: https://github.com/devblac/docker-lint/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/devblac/docker-lint/releases/tag/v0.1.1
[0.1.0]: https://github.com/devblac/docker-lint/tree/v0.1.0
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Prebuilt binaries for Linux, macOS and Windows (amd64 and arm64) are attached to

```bash
# Linux amd64; replace the version and platform as needed
VERSION=0.1.1
VERSION=0.1.2
curl -sSLO "https://github.com/devblac/docker-lint/releases/download/v${VERSION}/docker-lint_${VERSION}_linux_amd64.tar.gz"
curl -sSLO "https://github.com/devblac/docker-lint/releases/download/v${VERSION}/checksums.txt"
sha256sum --check --ignore-missing checksums.txt
Expand All @@ -42,10 +42,10 @@ A 2.5 MB image (static binary on distroless, running as a non-root user) for lin

```bash
# Lint from standard input
docker run --rm -i ghcr.io/devblac/docker-lint:0.1.1 < Dockerfile
docker run --rm -i ghcr.io/devblac/docker-lint:0.1.2 < Dockerfile

# Lint every Dockerfile in the current directory
docker run --rm -v "$PWD:/work" ghcr.io/devblac/docker-lint:0.1.1 .
docker run --rm -v "$PWD:/work" ghcr.io/devblac/docker-lint:0.1.2 .
```

### pre-commit
Expand All @@ -55,7 +55,7 @@ Add to `.pre-commit-config.yaml` to lint staged Dockerfiles before each commit:
```yaml
repos:
- repo: https://github.com/devblac/docker-lint
rev: v0.1.1
rev: v0.1.2
hooks:
- id: docker-lint # builds docker-lint with Go
# - id: docker-lint-docker # or runs the container image (needs Docker, not Go)
Expand Down Expand Up @@ -315,7 +315,7 @@ the pull request diff with the findings:

```yaml
- uses: actions/checkout@v7
- uses: devblac/docker-lint@v0.1.1
- uses: devblac/docker-lint@v0.1.2
with:
dockerfile: Dockerfile
```
Expand All @@ -330,7 +330,7 @@ permissions:

steps:
- uses: actions/checkout@v7
- uses: devblac/docker-lint@v0.1.1
- uses: devblac/docker-lint@v0.1.2
with:
dockerfile: |
Dockerfile
Expand Down
Loading