Skip to content

Commit bd7439b

Browse files
local descriptor fix
1 parent e87e951 commit bd7439b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Taskfile.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ vars:
1919
OCM_TARGET_REPO: '{{.OCM_TARGET_REPO | default (print .REGISTRY "/components") }}'
2020
OCM_OUTPUT_DIR: "{{.ROOT_DIR}}/.ctf"
2121
OCM_DESCRIPTOR: "{{.ROOT_DIR}}/ocm/component-descriptor.yaml"
22+
OCM_DESCRIPTOR_LOCAL: "{{.ROOT_DIR}}/ocm/component-descriptor-local.yaml"
2223

2324
tasks:
2425
default:
@@ -115,14 +116,12 @@ tasks:
115116
ocm add components --create --force --copy-resources --complete \
116117
--lookup {{.LOCAL_REGISTRY}} \
117118
--file {{.OCM_OUTPUT_DIR}} \
118-
{{.OCM_DESCRIPTOR}} -- \
119+
{{.OCM_DESCRIPTOR_LOCAL}} -- \
119120
VERSION={{.OCM_COMPONENT_VERSION}} \
120121
COMPONENT_NAME={{.OCM_COMPONENT_NAME}} \
121122
PROVIDER={{.OCM_PROVIDER}}
122123
vars:
123124
OCM_COMPONENT_VERSION: '{{.CLI_ARGS}}'
124-
env:
125-
REGISTRY: "{{.LOCAL_REGISTRY}}"
126125

127126
# This is full workflow to create local registry, build, push, create OCM and run application locally.
128127

0 commit comments

Comments
 (0)