prelim to switch to woodpecker plugin

This commit is contained in:
Matti R
2021-10-12 23:40:58 -04:00
parent 094150fddc
commit 08ccc7e86c
17 changed files with 22 additions and 1261 deletions

View File

@@ -1,7 +1,7 @@
package main
import (
"github.com/thegeeklab/drone-docker-buildx/plugin"
"codeberg.org/woodpecker-plugins/plugin-docker-buildx/plugin"
"github.com/urfave/cli/v2"
)
@@ -16,7 +16,7 @@ func settingsFlags(settings *plugin.Settings) []cli.Flag {
},
&cli.StringFlag{
Name: "remote.url",
EnvVars: []string{"DRONE_REMOTE_URL"},
EnvVars: []string{"CI_REMOTE_URL", "DRONE_REMOTE_URL"},
Usage: "sets the git remote url",
Destination: &settings.Build.Remote,
},

View File

@@ -3,8 +3,8 @@ package main
import (
"os"
"codeberg.org/woodpecker-plugins/plugin-docker-buildx/plugin"
"github.com/joho/godotenv"
"github.com/thegeeklab/drone-docker-buildx/plugin"
"github.com/urfave/cli/v2"
"github.com/drone-plugins/drone-plugin-lib/errors"