grim/wasdead
Clone
Summary
Browse
Changes
Graph
split the commands into individual files
draft
2019-06-08, Gary Kramlich
a864eaa9eb45
split the commands into individual files
environment
:
-
REPO=rwgrim/wasdead
-
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}
plans
:
default
:
stages
:
-
tasks
:
[
import
,
build
]
ci
:
stages
:
-
tasks
:
[
import
,
build
,
login
,
push
]
-
tasks
:
[
logout
]
run
:
always