test: set GITHUB_TOKEN secret

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2023-01-24 00:29:03 +01:00
parent fe75972f55
commit 251b9d49f3
3 changed files with 10 additions and 5 deletions

View File

@@ -44,10 +44,12 @@ target "test" {
dockerfile = "dev.Dockerfile"
target = "test"
output = ["type=cacheonly"]
secret = ["id=GITHUB_TOKEN,env=GITHUB_TOKEN"]
}
target "test-coverage" {
dockerfile = "dev.Dockerfile"
target = "test-coverage"
output = ["./coverage"]
secret = ["id=GITHUB_TOKEN,env=GITHUB_TOKEN"]
}