Skip to content

Commit af37e14

Browse files
Matching images used in example
Matching the image pushed in the pipeline and the image used in the deployment manifest
1 parent 48cea9d commit af37e14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
spec:
4646
containers:
4747
- name: apisvc
48-
image: myrepo/apisvc:{{CF_BRANCH}}_{{CF_REVISION}}
48+
image: myrepo/apisvc:{{CF_BRANCH}}-{{CF_REVISION}}
4949
ports:
5050
- containerPort: 80
5151
name: http
@@ -62,12 +62,12 @@ steps:
6262
type: build
6363
dockerfile: Dockerfile
6464
image_name: myrepo/apisvc
65-
tag: '${{CF_BRANCH}}'
65+
tag: '${{CF_BRANCH}}-{{CF_REVISION}}'
6666

6767
push:
6868
type: push
6969
candidate: ${{build}}
70-
tag: ${{CF_BRANCH}}
70+
tag: '${{CF_BRANCH}}-{{CF_REVISION}}'
7171

7272
deploy-to-kubernetes:
7373
image: codefresh/cf-deploy-kubernetes

0 commit comments

Comments
 (0)