We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33026ee commit dec2692Copy full SHA for dec2692
.github/workflows/build-and-push-wasm-go-plugin.yaml
@@ -60,18 +60,7 @@ jobs:
60
if [[ $? -eq 0 ]]; then
61
tar czvf "${PLUGIN_DIR}/plugin.tar.gz" "${PLUGIN_DIR}/plugin.wasm"
62
PUSH_FILES=("${PLUGIN_DIR}/plugin.tar.gz:application/vnd.oci.image.layer.v1.tar+gzip")
63
- declare -A FILES=(
64
- ["spec.yaml"]="application/vnd.module.wasm.spec.v1+yaml"
65
- ["README.md"]="application/vnd.module.wasm.doc.v1+markdown"
66
- ["README_EN.md"]="application/vnd.module.wasm.doc.v1.en+markdown"
67
- )
68
-
69
- for FILE in "${!FILES[@]}"; do
70
- FILE_PATH="${PLUGIN_DIR}/${FILE}"
71
- if [[ -f "${FILE_PATH}" ]]; then
72
- PUSH_FILES+=("${FILE_PATH}:${FILES[$FILE]}")
73
- fi
74
- done
+
75
76
oras push "${IMAGE}" "${PUSH_FILES[@]}"
77
break
0 commit comments