Skip to content

Commit

Permalink
fix SKIP_TESTS build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
alexei-led committed Nov 20, 2021
1 parent 27710a1 commit 2e7ab7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ COPY .golangci.yml .
COPY VERSION .

# run lint, test race and calculate coverage
ARG SKIP_TEST
RUN --mount=type=cache,target=/root/.cache/go-build if [ -z "$SKIP_TEST" -o "$SKIP_TEST" = false ]; then make lint test-race test-coverage; fi
ARG SKIP_TESTS
RUN --mount=type=cache,target=/root/.cache/go-build if [ -z "$SKIP_TESTS" -o "$SKIP_TESTS" = false ]; then make lint test-race test-coverage; fi

# `VCS_COMMIT_ID=$(git rev-parse --short HEAD 2>/dev/null)`
ARG VCS_COMMIT_ID
Expand Down

0 comments on commit 2e7ab7b

Please sign in to comment.