pidgin/carrier

Update convey.yml for the current standard
draft
2019-11-03, Gary Kramlich
925f33a47920
Update convey.yml for the current standard
environment:
- REPO=pidgin/carrier
- TAG=latest
- REGISTRY=docker.io
- REGISTRY_USERNAME
- REGISTRY_PASSWORD
tasks:
import:
type: docker/import
files: .:.
build:
type: docker/build
dockerfile: Dockerfile
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}
clean:
type: docker/remove
quiet: true
images: ${REGISTRY}/${REPO}:${TAG}
plans:
default:
stages:
- tasks: [import, build]
ci:
stages:
- tasks: [import, build, login, push]
- tasks: [logout]
run: always
clean:
stages:
- tasks: clean