debug token again
This commit is contained in:
parent
ffe02843ac
commit
68b70ecfd1
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user