pidgin/old.pidgin.im
Clone
Summary
Browse
Changes
Graph
Add a convey configuration
2021-04-06, Gary Kramlich
26d3c0d94d62
Parents
c86b53ca9d50
Children
9d11ce84b9f7
Add a convey configuration
1 files changed, 52 insertions(+), 0 deletions(-)
+52
-0
convey.yml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/convey.yml Tue Apr 06 14:43:58 2021 -0500
@@ -0,0 +1,52 @@
+environment:
+ - REPO=pidgin/old.pidgin.im
+ - TAG=latest
+ - REGISTRY_USERNAME
+ - REGISTRY_PASSWORD
+ - REGISTRY=docker.io
+
+tasks:
+ import:
+ type: docker/import
+ files: .:.
+ build:
+ type: docker/build
+ dockerfile: Dockerfile
+ tag: ${REGISTRY}/${REPO}:${TAG}
+ files: .
+ push:
+ type: docker/push
+ image: ${REGISTRY}/${REPO}:${TAG}
+ clean:
+ type: docker/remove
+ quiet: true
+ image: ${REGISTRY}/${REPO}:${TAG}
+ login:
+ type: docker/login
+ username: ${REGISTRY_USERNAME}
+ password: ${REGISTRY_PASSWORD}
+ server: ${REGISTRY}
+ logout:
+ type: docker/logout
+ server: ${REGISTRY}
+
+plans:
+ default:
+ stages:
+ - tasks: [import, build]
+ publish:
+ stages:
+ - tasks: [push]
+ cicd:
+ stages:
+ - name: build
+ tasks: [import, build]
+ - name: publish
+ tasks: [login, push]
+ - name: cleanup
+ tasks: [logout, clean]
+ run: always
+ clean:
+ stages:
+ - tasks: clean
+