-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodefresh.yml
More file actions
29 lines (27 loc) · 811 Bytes
/
codefresh.yml
File metadata and controls
29 lines (27 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: '1.0'
steps:
BuildingDockerImage:
title: Building Docker Image
type: build
image_name: eugenecodefresh/helloworld
working_directory: ./
dockerfile: Dockerfile
tag: '${{CF_BRANCH_TAG_NORMALIZED}}'
PushToRegistry:
type: push
candidate: ${{BuildingDockerImage}}
tag: "latest"
DeployToDcos:
image: codefresh/cf-deploy-dcos:latest
working_directory: ${{main_clone}}
commands:
- /cf-deploy-dcos deployment.tmpl
environment:
- DCOS_URL=${{DCOS_URL}}
- DCOS_CLUSTER_NAME=${{DCOS_CLUSTER_NAME}}
- DCOS_CLUSTER_ID=${{DCOS_CLUSTER_ID}}
- DCOS_DCOS_ACS_TOKEN=${{DCOS_DCOS_ACS_TOKEN}}
- DCOS_SSL_VERIFY=${{DCOS_SSL_VERIFY}}
- APP_ID=${{APP_ID}}
- IMAGE_NAME=${{IMAGE_NAME}}
- IMAGE_TAG=${{IMAGE_TAG}}