workspace: base: /go/src path: github.com/appleboy/drone-packer clone: git: image: plugins/git depth: 50 tags: true pipeline: lint: image: golang:1.10 pull: true commands: - make vet - make lint - make test-vendor - make misspell-check build_linux_amd64: image: golang:1.10 pull: true group: build commands: - make build_linux_amd64 build_linux_i386: image: golang:1.10 pull: true group: build commands: - make build_linux_i386 build_linux_arm64: image: golang:1.10 pull: true group: build commands: - make build_linux_arm64 build_linux_arm: image: golang:1.10 pull: true group: build commands: - make build_linux_arm publish_linux_amd64: image: plugins/docker:17.05 pull: true secrets: [ docker_username, docker_password ] group: release repo: ${DRONE_REPO} auto_tag: true dockerfile: Dockerfile when: event: [ push, tag ] local: false discord: image: appleboy/drone-discord pull: true secrets: [ discord_webhook_id, discord_webhook_token ] when: status: [ success, failure ]