imfreedom/knowledgebase

cfc218daa38f
There's more to the old config than the task names...
---
environment:
- REGISTRY_HOST=docker.io
- REGISTRY_USERNAME
- REGISTRY_PASSWORD
- REPOSITORY=imfreedom/knowledgebase
- TAG=latest
tasks:
import:
type: docker/import
files: .:.
build:
type: docker/build
dockerfile: Dockerfile
tags: ${REGISTRY_HOST}/${REPOSITORY}:${TAG}
push:
type: docker/push
images: ${REGISTRY_HOST}/${REPOSITORY}:${TAG}
login:
type: docker/login
server: ${REGISTRY_HOST}
username: ${REGISTRY_USERNAME}
password: ${REGISTRY_PASSWORD}
logout:
type: docker/logout
server: ${REGISTRY_HOST}
plans:
default:
stages:
- tasks: [import, build]
cicd:
stages:
- tasks: [import, build, login, push]
- tasks: [logout]
run: always