Use new CI/CD access token for build. #5
@ -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"
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user