mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
fix: use code.forgejo.org/oci
Otherwise it may get rate limited in the CI verifying it works
This commit is contained in:
parent
d58552be82
commit
1f85564111
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
baseImage = "node:16-buster-slim"
|
baseImage = "code.forgejo.org/oci/node:20-bookworm"
|
||||||
platforms map[string]string
|
platforms map[string]string
|
||||||
logLevel = log.DebugLevel
|
logLevel = log.DebugLevel
|
||||||
workdir = "testdata"
|
workdir = "testdata"
|
||||||
|
@ -540,7 +540,7 @@ func (f *maskJobLoggerFactory) WithJobLogger() *log.Logger {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestMaskValues(t *testing.T) {
|
func TestMaskValues(t *testing.T) {
|
||||||
assertNoSecret := func(text string, secret string) {
|
assertNoSecret := func(text, secret string) {
|
||||||
index := strings.Index(text, "composite secret")
|
index := strings.Index(text, "composite secret")
|
||||||
if index > -1 {
|
if index > -1 {
|
||||||
fmt.Printf("\nFound Secret in the given text:\n%s\n", text)
|
fmt.Printf("\nFound Secret in the given text:\n%s\n", text)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue