imfreedom/knowledgebase
Clone
Summary
Browse
Changes
Graph
Add a Dockerfile and a convey.yml
2022-04-09, Gary Kramlich
c642661caee8
Add a Dockerfile and a convey.yml
---
environment
:
-
REGISTRY_HOST=docker.io
-
REGISTRY_USERNAME
-
REGISTRY_PASSWORD
-
REPOSITORY=imfreedom/knowledgebase
-
TAG=latest
tasks
:
import
:
type
:
convey/import
files
:
.:.
build
:
type
:
podman/build
containerfile
:
Dockerfile
tags
:
${REGISTRY_HOST}/${REPOSITORY}:${TAG}
push
:
type
:
podman/push
tags
:
${REGISTRY_HOST}/${REPOSITORY}:${TAG}
login
:
type
:
podman/login
registry
:
${REGISTRY_HOST}
username
:
${REGISTRY_USERNAME}
password
:
${REGISTRY_PASSWORD}
logout
:
type
:
podman/logout
registry
:
${REGISTRY_HOST}
plans
:
default
:
stages
:
-
tasks
:
[
import
,
build
]
cicd
:
stages
:
-
tasks
:
[
import
,
build
,
login
,
push
]
-
tasks
:
[
logout
]
run
:
always