File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 7
7
repo : ' ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}'
8
8
git : " cf_github"
9
9
revision : ' ${{CF_REVISION}}'
10
+
11
+ GettingPluginVersion :
12
+ title : Getting Plugin Version
13
+ image : codefresh/cli
14
+ commands :
15
+ - cf_export PLUGIN_VERSION=$(yq -r .metadata.version ./steps/incubating/prisma-cloud/step.yaml)
16
+
10
17
BuildImage :
11
18
title : Building Docker Image
12
19
type : build
13
20
working_directory : " ./steps/incubating/prisma-cloud"
14
21
dockerfile : " Dockerfile"
15
22
image_name : codefreshplugins/cfstep-prisma-cloud
16
23
17
- PushingToRegistries :
24
+ PushingToRegistries :
18
25
title : Pushing to Registry
19
26
type : push
20
27
candidate : ${{BuildImage}}
21
28
tags :
22
29
- " latest"
23
- - " 1.0.0 "
30
+ - " ${{PLUGIN_VERSION}} "
24
31
when :
25
32
branch :
26
33
only :
You can’t perform that action at this time.
0 commit comments