debug token again

This commit is contained in:
Roy Crihfield 2023-07-11 11:09:35 +08:00
parent ffe02843ac
commit 68b70ecfd1

View File

@ -19,11 +19,12 @@ jobs:
go-version-file: 'go.mod'
check-latest: true
- name: "Run DB container"
run: docker compose -f test/compose.yml up --wait-timeout 30
run: docker compose -f test/compose.yml up --wait-timeout 30 -d
- name: "Set up Gitea access token"
env:
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
run: |
[[ -n "$TOKEN" ]]
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
- name: "Run tests"
run: go test -v ./...
@ -46,7 +47,7 @@ jobs:
env:
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
run: |
[ -n "$TOKEN"]
[[ -n "$TOKEN" ]]
docker build ./plugeth-statediff -t cerc/plugeth-statediff:local \
--build-arg GIT_VDBTO_TOKEN="$TOKEN"
docker build ./plugeth -t cerc/plugeth:local \