Skip to content

Commit

Permalink
Added codefresh.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nithinjois committed Nov 13, 2018
1 parent 619e749 commit b316009
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 1 deletion.
65 changes: 65 additions & 0 deletions codefresh.yml
@@ -0,0 +1,65 @@
version: '1.0'
steps:
build-orchy-community-nginx:
title: Building Orchestron Community Nginx Docker Image
type: build
image_name: we45/orchestron-community-nginx
tag: latest
working_directory: ${{main_clone}}/orchestron-community-nginx
dockerfile: Dockerfile
when:
branch:
only:
- master
retry:
maxAttempts: 2

build-orchy-community-api:
title: Building Orchestron Community API Docker Image
type: build
image_name: we45/orchestron-community-api
tag: latest
working_directory: ${{main_clone}}/orchestron-community-api
dockerfile: Dockerfile
when:
branch:
only:
- master
retry:
maxAttempts: 2

build-orchy-community-frontend:
title: Building Orchestron Community Frontend Docker Image
type: build
image_name: we45/orchestron-community-frontend
tag: latest
working_directory: ${{main_clone}}/orchestron-community-frontend
dockerfile: Dockerfile
when:
branch:
only:
- master
retry:
maxAttempts: 2

push-orchy-community-nginx:
title: Push Orchestron Community Nginx Docker Image to we45 DockerHub
type: push
candidate: ${{build-orchy-community-nginx}}
tag: latest
registry: we45-dockerhub

push-orchy-community-api:
title: Push Orchestron Community API Docker Image to we45 DockerHub
type: push
candidate: ${{build-orchy-community-api}}
tag: latest
registry: we45-dockerhub

push-orchy-community-frontend:
title: Push Orchestron Community Frontend Docker Image to we45 DockerHub
type: push
candidate: ${{build-orchy-community-frontend}}
tag: latest
registry: we45-dockerhub

2 changes: 1 addition & 1 deletion docker-compose.yml
Expand Up @@ -9,7 +9,7 @@ services:
links:
- api
frontend:
image: docker.io/we45/orchestron-community-frontend:latest
image: we45/orchestron-community-frontend:latest
expose:
- "5000"
depends_on:
Expand Down

0 comments on commit b316009

Please sign in to comment.