prelim to switch to woodpecker plugin
This commit is contained in:
parent
08ccc7e86c
commit
3c6cdbcec5
@ -2,8 +2,8 @@ pipeline:
|
|||||||
build:
|
build:
|
||||||
image: golang:1.17
|
image: golang:1.17
|
||||||
commands:
|
commands:
|
||||||
- go build
|
- "[ -z \"${DRONE_TAG}\" ] && BUILD_VERSION=${DRONE_COMMIT_SHA:0:8} || BUILD_VERSION=${DRONE_TAG##v}"
|
||||||
- go test
|
- go build -v -a -tags netgo ./cmd/docker-buildx
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -21,7 +21,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
app := &cli.App{
|
app := &cli.App{
|
||||||
Name: "drone-docker-buildx",
|
Name: "docker-buildx",
|
||||||
Usage: "build docker container with DinD and buildx",
|
Usage: "build docker container with DinD and buildx",
|
||||||
Version: version,
|
Version: version,
|
||||||
Flags: append(settingsFlags(settings), urfave.Flags()...),
|
Flags: append(settingsFlags(settings), urfave.Flags()...),
|
Loading…
Reference in New Issue
Block a user