From 19179f37ffcb8530c6242ea4bc8ba64292cc7d2c Mon Sep 17 00:00:00 2001 From: Rintaro Okamura Date: Wed, 16 Dec 2020 10:24:16 +0900 Subject: [PATCH] [patch] Remove go mod tidy from base image / Add valid token to semver job (#886) * :fire: Remove go mod tidy from base Docker image Signed-off-by: Rintaro Okamura * :package: Add token to push to master branch Signed-off-by: Rintaro Okamura --- .github/workflows/semver.yml | 1 + dockers/base/Dockerfile | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/semver.yml b/.github/workflows/semver.yml index 3c57c3c75f..70faeddcb4 100644 --- a/.github/workflows/semver.yml +++ b/.github/workflows/semver.yml @@ -15,6 +15,7 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 + token: ${{ secrets.DISPATCH_TOKEN }} - name: Get latest gitwerk run: | curl -LO "https://github.com/rinx/gitwerk/releases/download/v0.2.2/gitwerk-linux-amd64.zip" diff --git a/dockers/base/Dockerfile b/dockers/base/Dockerfile index edb3180639..93b9185b5f 100644 --- a/dockers/base/Dockerfile +++ b/dockers/base/Dockerfile @@ -48,5 +48,4 @@ WORKDIR ${GOPATH}/src/github.com/vdaas/vald COPY go.mod . COPY go.sum . -RUN go mod tidy \ - && go mod download +RUN go mod download