Commit 78e95f81 authored by Tobias Munk's avatar Tobias Munk

updated CI

parent faac6da2
......@@ -22,6 +22,11 @@ Example: Gitlab CI
### GitLab CI
Add variable `REGISTRY_HOST`
---
Example trigger for [`stacks-staging`](https://git.hrzg.de/dangerzone/stacks-staging)
deploy:latest:
......@@ -44,6 +49,7 @@ Set **Variables**
- `PHP_IMAGE_NAME` registry.example.com/namespace/project_php
- `GITHUB_API_TOKEN` abcd1234
### Workflow
1. Clone application from local repository
......@@ -71,6 +77,13 @@ Adjust your `Dockerfile` and build `FROM phundament/app:production`.
make build
-----
Setup ENv variables in roj
PROJECT_TOKEN
### Travis
Push example
......@@ -92,4 +105,13 @@ Production
- All images MUST BE tagged
Push to branch `foo` results in Docker image `appsrc:foo`.
\ No newline at end of file
Push to branch `foo` results in Docker image `appsrc:foo`.
---
<div class="mermaid">
graph LR;
Local-->Repository;
Repository-->Image;
Image-->Registry;
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment