grim/containers/msys2-cross
Clone
Summary
Browse
Changes
Graph
Add additional tasks/plans to get this into CI
2019-05-01, Gary Kramlich
caef68cce92b
Parents
80f2e9f73a07
Children
33c8244dba2a
Add additional tasks/plans to get this into CI
1 files changed, 26 insertions(+), 1 deletions(-)
+26
-1
convey.yml
--- a/convey.yml Wed May 01 00:20:44 2019 -0500
+++ b/convey.yml Wed May 01 00:22:14 2019 -0500
@@ -1,17 +1,42 @@
+environment:
+ - REPO=rwgrim/msys2-cross
+ - TAG=latest
+ - REGISTRY_PASSWORD
+ - REGISTRY_SERVER=docker.io
+ - REGISTRY_USERNAME
+
tasks:
import:
type: docker/import
files: .:.
+
build:
type: docker/build
- tag: rwgrim/msys2-cross:latest
+ tag: ${REPO}:${TAG}
dockerfile: Dockerfile
files: .:.
+ login:
+ type: docker/login
+ username: ${REGISTRY_USERNAME}
+ password: ${REGISTRY_PASSWORD}
+ server: ${REGISTRY_SERVER}
+ push:
+ type: docker/push
+ images: ${REPO}:${TAG}
+ logout:
+ type: docker/logout
+ server: ${REGISTRY_SERVER}
+
plans:
default:
stages:
- tasks:
- import
- build
+ publish:
+ stages:
+ - tasks: [login, push]
+ - tasks: [logout]
+ run: always