This commit is contained in:
parent
8f2e192905
commit
55d9852c80
@ -75,7 +75,7 @@ depends_on:
|
||||
|
||||
steps:
|
||||
- name: hadolint
|
||||
image: hadolint/hadolint:latest
|
||||
image: hadolint/hadolint:v2.6.0-alpine
|
||||
commands:
|
||||
- hadolint --version
|
||||
- hadolint Dockerfile
|
||||
|
@ -7,6 +7,9 @@ WORKDIR /homepage
|
||||
RUN git submodule init \
|
||||
&& git submodule update --recursive \
|
||||
&& hugo version
|
||||
# "DL3059 info: Multiple consecutive `RUN` instructions.
|
||||
# Consider consolidation."
|
||||
# hadolint ignore=DL3059
|
||||
RUN hugo --minify --gc=true
|
||||
|
||||
WORKDIR /
|
||||
|
Loading…
Reference in New Issue
Block a user