1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-07-02 16:38:35 +00:00

[FORGEJO] add the create-runner-file

This commit is contained in:
Earl Warren 2023-07-11 22:45:49 +02:00
parent b876fa3fab
commit 4c78fbc7b1
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
7 changed files with 328 additions and 10 deletions

View file

@ -41,6 +41,8 @@ func Execute(ctx context.Context) {
registerCmd.Flags().StringVar(&regArgs.Labels, "labels", "", "Runner tags, comma separated")
rootCmd.AddCommand(registerCmd)
rootCmd.AddCommand(createRunnerFileCmd(ctx, &configFile))
// ./act_runner daemon
daemonCmd := &cobra.Command{
Use: "daemon",