Skip to content

Commit f46372a

Browse files
committed
fix: disable OCI publish step (no publish target exists)
The wasm_component_signed_oci_image rule creates build targets but not publish targets. Disabled the publish and verify steps for now. The workflow successfully builds the OCI image to verify the build works. Actual publishing to the registry should be implemented separately using wasm_component_publish rule from rules_wasm_component. TODO: Add proper OCI publishing target for release workflows.
1 parent c84cee8 commit f46372a

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

.github/workflows/oci-publish.yml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,24 @@ jobs:
4747
4848
echo "Component built and ready for publishing"
4949
50-
- name: Publish Component to GitHub Container Registry
51-
run: |
52-
echo "Publishing to ${{ env.REGISTRY }}..."
53-
54-
# Use Bazel's OCI publishing capabilities
55-
bazel run //tinygo:file_ops_oci_signed.publish
56-
57-
echo "✅ Component published to ${{ env.REGISTRY }}/pulseengine/bazel-file-ops-component-tinygo"
58-
59-
- name: Verify Published Component
60-
run: |
61-
echo "Verifying published component signatures..."
62-
63-
# Verify the component signature using cosign
64-
cosign verify \
65-
--certificate-identity-regexp='.*' \
66-
--certificate-oidc-issuer-regexp='.*' \
67-
${{ env.REGISTRY }}/pulseengine/bazel-file-ops-component-tinygo:latest || \
68-
echo "⚠️ Signature verification failed (expected for development)"
50+
# Publishing step disabled - no publish target exists yet
51+
# TODO: Implement proper OCI publishing using wasm_component_publish rule
52+
# - name: Publish Component to GitHub Container Registry
53+
# run: |
54+
# echo "Publishing to ${{ env.REGISTRY }}..."
55+
# # Use Bazel's OCI publishing capabilities
56+
# bazel run //tinygo:file_ops_oci_signed.publish
57+
# echo "✅ Component published to ${{ env.REGISTRY }}/pulseengine/bazel-file-ops-component-tinygo"
58+
59+
# - name: Verify Published Component
60+
# run: |
61+
# echo "Verifying published component signatures..."
62+
# # Verify the component signature using cosign
63+
# cosign verify \
64+
# --certificate-identity-regexp='.*' \
65+
# --certificate-oidc-issuer-regexp='.*' \
66+
# ${{ env.REGISTRY }}/pulseengine/bazel-file-ops-component-tinygo:latest || \
67+
# echo "⚠️ Signature verification failed (expected for development)"
6968

7069
# Publish to WebAssembly package registries using Bazel rules
7170
publish-wasm-registries:

0 commit comments

Comments
 (0)