build: Fix syntax case
Signed-off-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
parent
32efa581f8
commit
56eebade90
|
|
@ -95,7 +95,7 @@ COPY --from=make-cli /out/* .
|
||||||
FROM scratch AS cross
|
FROM scratch AS cross
|
||||||
COPY --from=make-cross /out/* .
|
COPY --from=make-cross /out/* .
|
||||||
|
|
||||||
FROM base as test
|
FROM base AS test
|
||||||
ENV CGO_ENABLED=0
|
ENV CGO_ENABLED=0
|
||||||
ARG BUILD_TAGS
|
ARG BUILD_TAGS
|
||||||
ARG GIT_TAG
|
ARG GIT_TAG
|
||||||
|
|
@ -106,11 +106,11 @@ RUN --mount=target=. \
|
||||||
GIT_TAG=${GIT_TAG} \
|
GIT_TAG=${GIT_TAG} \
|
||||||
make -f builder.Makefile test
|
make -f builder.Makefile test
|
||||||
|
|
||||||
FROM base as check-license-headers
|
FROM base AS check-license-headers
|
||||||
RUN go get -u github.com/kunalkushwaha/ltag
|
RUN go get -u github.com/kunalkushwaha/ltag
|
||||||
RUN --mount=target=. \
|
RUN --mount=target=. \
|
||||||
make -f builder.Makefile check-license-headers
|
make -f builder.Makefile check-license-headers
|
||||||
|
|
||||||
FROM base as check-go-mod
|
FROM base AS check-go-mod
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN make -f builder.Makefile check-go-mod
|
RUN make -f builder.Makefile check-go-mod
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue