summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2019-05-10 17:28:20 -0500
committerGary Kramlich <grim@reaperworld.com>2019-05-10 17:28:20 -0500
commitd1cd8f8ee67248eb8ff8d383ab621ea5427edbb3 (patch)
tree1e5ba5d6949e1de0c8b5de8da2ec06c04e3f6b5e
parentfa3e98afa6ea48a131314ef20d0d6332758aa5f9 (diff)
downloadpidgin-d1cd8f8ee67248eb8ff8d383ab621ea5427edbb3.tar.gz
Add a convey.yml to make the docs build easier
-rw-r--r--convey.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/convey.yml b/convey.yml
new file mode 100644
index 0000000000..c103f4b7a8
--- /dev/null
+++ b/convey.yml
@@ -0,0 +1,43 @@
+environment:
+ - REPO=pidgin/pidgin2-docs
+ - TAG=latest
+ - REGISTRY=docker.io
+ - REGISTRY_USERNAME
+ - REGISTRY_PASSWORD
+
+tasks:
+ import:
+ type: docker/import
+ files: .:.
+
+ build:
+ type: docker/build
+ dockerfile: Dockerfile.doxygen
+ tag: ${REGISTRY}/${REPO}:${TAG}
+ files: .:.
+
+ login:
+ type: docker/login
+ username: ${REGISTRY_USERNAME}
+ password: ${REGISTRY_PASSWORD}
+ server: ${REGISTRY}
+
+ logout:
+ type: docker/logout
+ server: ${REGISTRY}
+
+ push:
+ type: docker/push
+ images: ${REGISTRY}/${REPO}:${TAG}
+
+plans:
+ default:
+ stages:
+ - tasks: [import, build]
+
+ ci:
+ stages:
+ - tasks: [import, build, login, push]
+ - tasks: [logout]
+ run: always
+