We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6627410 commit b2e49c3Copy full SHA for b2e49c3
action.yaml
@@ -1,6 +1,10 @@
1
name: 'csdp-report-image'
2
description: 'Report image to csdp'
3
inputs:
4
+ VERSION:
5
+ description: specify client version
6
+ required: false
7
+ default: 0.0.21
8
CF_IMAGE:
9
description: image reported, quay.io/codefresh/newly-built-image:0.0.1
10
required: true
@@ -57,6 +61,4 @@ runs:
57
61
steps:
58
62
- shell: bash
59
63
run: |
60
- VER=$(cat service.yaml | grep version | cut -d ':' -f 2 | tr -d ' ')
- env>cf_env
- docker run --env-file=cf_env quay.io/codefresh/csdp-report-image:$VER
64
+ docker run --env-file=cf_env quay.io/codefresh/csdp-report-image:$INPUT_VERSION
service.yaml
@@ -1,2 +1,2 @@
name: csdp-report-image
-version: 0.0.20
+version: 0.0.21
0 commit comments