Use new CI/CD access token for build. #5

Merged
roysc merged 10 commits from telackey/49c into wip 2023-07-10 22:40:14 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 7cca02d66f - Show all commits

View File

@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
repository: cerc-io/plugeth repository: cerc-io/plugeth
ref: statediff-wip ref: telackey/49c
path: ./plugeth path: ./plugeth
# These images need access tokens configured # These images need access tokens configured
- name: "Build docker image" - name: "Build docker image"

View File

@ -9,7 +9,7 @@ ARG GIT_VDBTO_TOKEN
# Get and cache deps # Get and cache deps
WORKDIR /plugeth-statediff/ WORKDIR /plugeth-statediff/
COPY go.mod go.sum . COPY go.mod go.sum .
RUN if [ -n "$GIT_VDBTO_TOKEN" ]; then git config --global url."https://$GIT_VDBTO_TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"; fi && \ RUN [ -n "$GIT_VDBTO_TOKEN" ] && git config --global url."https://$GIT_VDBTO_TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/" ; \
go mod download && \ go mod download && \
rm -f ~/.gitconfig rm -f ~/.gitconfig