push release to local gitea instance
Some checks failed
release-nightly / goreleaser (push) Has been skipped
release-tag / goreleaser (push) Has been skipped
release-nightly / release-image (push) Failing after 20s
release-tag / release-image (push) Failing after 18s
checks / check and test (push) Successful in 17s

This commit is contained in:
2024-09-06 14:29:27 +02:00
parent db2c4d3a44
commit 93bfd994cf
3 changed files with 17 additions and 8 deletions

View File

@@ -157,6 +157,7 @@ func (r *Runner) run(ctx context.Context, task *runnerv1.Task, reporter *report.
Token: taskContext["token"].GetStringValue(),
RepositoryOwner: taskContext["repository_owner"].GetStringValue(),
RetentionDays: taskContext["retention_days"].GetStringValue(),
ServerURL: taskContext["server_url"].GetStringValue(),
}
if t := task.Secrets["GITEA_TOKEN"]; t != "" {
preset.Token = t