Skip to content

Commit

Permalink
Add lefthook
Browse files Browse the repository at this point in the history
Signed-off-by: Marcelo E. Magallon <[email protected]>
  • Loading branch information
mem committed Aug 5, 2024
1 parent beaa651 commit 76c1698
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ FROM go as bingo
# Add bingo
RUN env GOBIN=/build/bin go install github.com/bwplotka/bingo@{{ .data.bingo }}

FROM go as lefthook
# Add lefthook
RUN env GOBIN=/build/bin go install github.com/evilmartians/lefthook@{{ .data.lefthook }}

FROM go as dockerfile_json
# Add dockerfile-json
RUN git clone --depth 1 --branch {{ .data.dockerfile_json }} https://github.com/keilerkonzept/dockerfile-json dockerfile-json && \
Expand Down
3 changes: 3 additions & 0 deletions lib/image-test
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ wire help
echo '=== bingo'
bingo version

echo '=== lefthook'
lefthook version

echo '=== dockerfile-json'
dockerfile-json -help

Expand Down
3 changes: 3 additions & 0 deletions versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
# renovate: datasource=github-releases depName=bingo packageName=bwplotka/bingo
bingo: v0.9.0

# renovate: datasource=github-releases depName=lefthook packageName=evilmartians/lefthook
lefthook: v1.7.11

# renovate: datasource=github-releases depName=buf packageName=bufbuild/buf
buf: v1.35.1

Expand Down

0 comments on commit 76c1698

Please sign in to comment.