debug token again
This commit is contained in:
parent
ffe02843ac
commit
68b70ecfd1
@ -19,11 +19,12 @@ jobs:
|
|||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: "Run DB container"
|
- 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"
|
- name: "Set up Gitea access token"
|
||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
|
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
[[ -n "$TOKEN" ]]
|
||||||
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
|
git config --global url."https://$TOKEN:@git.vdb.to/".insteadOf "https://git.vdb.to/"
|
||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
@ -46,7 +47,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
|
TOKEN: ${{ secrets.CICD_REPO_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
[ -n "$TOKEN"]
|
[[ -n "$TOKEN" ]]
|
||||||
docker build ./plugeth-statediff -t cerc/plugeth-statediff:local \
|
docker build ./plugeth-statediff -t cerc/plugeth-statediff:local \
|
||||||
--build-arg GIT_VDBTO_TOKEN="$TOKEN"
|
--build-arg GIT_VDBTO_TOKEN="$TOKEN"
|
||||||
docker build ./plugeth -t cerc/plugeth:local \
|
docker build ./plugeth -t cerc/plugeth:local \
|
||||||
|
Loading…
Reference in New Issue
Block a user