で受け取り接続 17 FROM golang:1.20.2-bullseye as builder … RUN --mount=type=secret,id=github_token git config --global url."https://x-access-token:$(cat /run/secrets/github_token)@github.com/<アカウント>/".insteadOf "https://github.com/<アカ ウント>/" ENV GOPRIVATE=github.com/<アカウント>/<リポジトリ> COPY go.mod go.sum ./ RUN go mod download RUN : > ~/.gitconfig Dockerfile