prelim to switch to woodpecker plugin

This commit is contained in:
Matti R 2021-10-12 23:44:14 -04:00
parent 08ccc7e86c
commit 3c6cdbcec5
No known key found for this signature in database
GPG Key ID: 9D8A57ADAA232E95
4 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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()...),