grim/pidgin-nest
Clone
Summary
Browse
Changes
Graph
Merged in default (pull request #45)
2019-08-22, Gary Kramlich
d070f265250b
Merged in default (pull request #45)
Prettify inline code styles
Approved-by: Gary Kramlich
environment
:
-
REPO=pidgin/nest
-
TAG=latest
-
BUILD_NAME
-
REGISTER_USERNAME
-
REGISTRY_PASSWORD
-
REGISTRY=docker.io
tasks
:
import
:
type
:
docker/import
files
:
.:.
build
:
type
:
docker/build
dockerfile
:
Dockerfile
tag
:
${REGISTRY}/${REPO}:${TAG}
labels
:
-
BUILD_DATE=${RUN_TIME}
-
COMMIT=${HG_COMMIT}
files
:
.
arguments
:
-
BUILD_DATE=${RUN_TIME}
-
BUILD_NAME=${BUILD_NAME}
-
COMMIT=${HG_COMMIT}
push
:
type
:
docker/push
image
:
${REGISTRY}/${REPO}:${TAG}
clean
:
type
:
docker/remove
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