File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 7878 OCM_COMPONENT_VERSION : " v0.0.0-main"
7979
8080 - name : Publish OCM component
81- run : task publish:ocm
81+ run : task publish:ocm OCM_TRANSFER_ARGS="--overwrite"
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ tasks:
4444 IMAGE_VERSION : ' {{.IMAGE_VERSION | default (print .OCM_COMPONENT_VERSION)}}'
4545
4646 publish:ocm :
47- desc : ' Publishes the ocm component to the registry.'
47+ desc : ' Publishes the ocm component to the registry. Usage: task publish:ocm [OCM_TRANSFER_ARGS="--overwrite"] '
4848 deps :
4949 - install:ocm
5050 cmds :
5151 - |
5252 {{.OCM}} transfer ctf \
53- {{.OCM_OUTPUT_DIR}} {{.OCM_TARGET_REPO}}
53+ {{.OCM_OUTPUT_DIR}} {{.OCM_TARGET_REPO}} {{.OCM_TRANSFER_ARGS}}
5454
5555 build:image:local :
5656 desc : ' Builds the docker image for local testing. Usage: task test:build-image TAG=v-local-test'
You can’t perform that action at this time.
0 commit comments