Skip to content

Commit

Permalink
Remove vendor in the build
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorioux committed Dec 8, 2023
1 parent 01f4714 commit aa3b946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN apk --no-cache update \
&& git config --global \
url."ssh://${GITHUB_USERNAME}:${GITHUB_TOKEN}@github.com/${GITHUB_REPO_PATH}".insteadOf \
"https://github.com/${GITHUB_USERNAME}/${GITHUB_REPO_PATH}" \
&& go mod tidy && go mod vendor
&& go mod tidy
RUN --mount=type=cache,target=/root/.cache/go-build \
CGO_ENABLED=0 go build -a -v -installsuffix cgo -o remarkctl .

Expand Down

0 comments on commit aa3b946

Please sign in to comment.