Updated CI Dockerfile; fixed formatting & vet
This commit is contained in:
parent
6194a3f408
commit
27f59c6664
7 changed files with 21 additions and 11 deletions
|
|
@ -4,7 +4,6 @@ import docker
|
|||
import encoding.base64
|
||||
import rand
|
||||
import time
|
||||
import os
|
||||
import json
|
||||
import server
|
||||
import env
|
||||
|
|
@ -16,7 +15,7 @@ fn build() ? {
|
|||
conf := env.load<env.BuildConfig>() ?
|
||||
|
||||
// We get the repos list from the Vieter instance
|
||||
mut req := http.new_request(http.Method.get, '${conf.address}/api/repos', '') ?
|
||||
mut req := http.new_request(http.Method.get, '$conf.address/api/repos', '') ?
|
||||
req.add_custom_header('X-Api-Key', conf.api_key) ?
|
||||
|
||||
res := req.do() ?
|
||||
|
|
|
|||
Reference in a new issue