grim/containers/trac-bootstrap

Beef up the readme
draft
2021-04-11, Gary Kramlich
2338a63e5d7e
Beef up the readme
environment:
- REPO=rwgrim/trac-bootstrap
- TAG=latest
- REGISTRY=docker.io
- REGISTRY_USERNAME
- REGISTRY_PASSWORD
tasks:
import:
type: docker/import
files: .:.
build:
type: docker/build
dockerfile: Dockerfile
files: .
tag: ${REGISTRY}/${REPO}:${TAG}
login:
type: docker/login
server: ${REGISTRY}
username: ${REGISTRY_USERNAME}
password: ${REGISTRY_PASSWORD}
logout:
type: docker/logout
server: ${REGISTRY}
push:
type: docker/push
image: ${REGISTRY}/${REPO}:${TAG}
plans:
default:
stages:
- tasks: [import, build]
cicd:
stages:
- tasks: [login, import, build, push]
- tasks: [logout]
run: always