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