grim/wasdead
Clone
Summary
Browse
Changes
Graph
Make the run command the default command
draft
2020-09-26, Gary Kramlich
43eaf7bd7bbb
Make the run command the default command
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