@@ -58,9 +58,10 @@ Build and publish the Open VSX CLI image. To do this, run the following commands
58
58
+
59
59
[bash,subs="verbatim",options="nowrap"]
60
60
----
61
- export OPENVSX_CLI_IMAGE_NAME=openvsx-cli
62
- export OPENVSX_CLI_IMAGE=${REGISTRY}/${NAMESPACE}/${OPENVSX_CLI_IMAGE_NAME} &&
63
- podman build -t "${OPENVSX_CLI_IMAGE}" -f cli.Dockerfile . &&
61
+ export OPENVSX_CLI_IMAGE_NAME=openvsx-cli &&
62
+ export OPENVSX_CLI_VERSION=0.10.5 &&
63
+ export OPENVSX_CLI_IMAGE=${REGISTRY}/${NAMESPACE}/${OPENVSX_CLI_IMAGE_NAME}:${OPENVSX_CLI_VERSION} &&
64
+ podman build -t "${OPENVSX_CLI_IMAGE}" --build-arg "OVSX_VERSION=${OPENVSX_CLI_VERSION}" -f cli.Dockerfile . &&
64
65
podman push "${OPENVSX_CLI_IMAGE}"
65
66
----
66
67
+
@@ -125,9 +126,23 @@ export OPENVSX_ROUTE_URL="$(oc get route internal -n openvsx -o jsonpath='{.spec
125
126
export PATCH='{"spec":{"components":{"pluginRegistry":{"openVSXURL":"https://'"$OPENVSX_ROUTE_URL"'"}}}}' &&
126
127
oc patch checluster "${CHECLUSTER_NAME}" --type=merge --patch "${PATCH}" -n "${CHECLUSTER_NAMESPACE}"
127
128
----
129
+ +
130
+ [TIP]
131
+ ====
132
+
133
+ Refer to the xref:configuring-the-open-vsx-registry-url.adoc[] for detailed instructions on configuring the Open VSX registry URL in {prod-short} .
134
+
135
+ ====
128
136
129
137
. Publish Visual Studio Code extensions with the `ovsx` command.
130
138
+
139
+ [NOTE]
140
+ ====
141
+
142
+ At the beginning, the Open VSX registry does not provide any extension.
143
+
144
+ ====
145
+ +
131
146
With everything configured, the next step is to publish a Visual Studio Code extension from inside the ovsx-cli container.
132
147
To do this, you need two pieces of information: the extension `namespace` name (used for publishing), the download URL of the .vsix extension package.
133
148
Once you have this information, run the following commands to publish the extension:
0 commit comments