Skip to content

Build and Deploy to GitHub Registry #61

Build and Deploy to GitHub Registry

Build and Deploy to GitHub Registry #61

Manually triggered April 8, 2026 01:12
Status Failure
Total duration 41s
Artifacts 1

build-and-deploy.yml

on: workflow_dispatch
build-and-push
38s
build-and-push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
build-and-push
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/bash -o pipefail -c \nexport BUN_INSTALL=/usr/local/bun\nexport PROVIDER_DIR=/usr/local/provider\nexport OPENCODE_PLUGINS_DIR=\"${OPENCODE_CONFIG_DIR}/plugins\"\n\n###\n# Helper function to resolve 'latest' to actual version tag from GitHub API\n# Usage: resolve_github_latest_version <owner>/<repo> <version>\n# Returns: actual version tag (resolves 'latest' via API, otherwise returns input as-is)\n#\nresolve_github_latest_version() {\n local repo_slug=\"${1}\"\n local version=\"${2}\"\n\n if [ \"${version}\" = \"latest\" ]; then\n version=$(curl -fsSL \"https://api.github.com/repos/${repo_slug}/releases/latest\" | jq -r '.tag_name')\n if [ -z \"${version}\" ] || [ \"${version}\" = \"null\" ]; then\n echo \"Failed to fetch latest release version for ${repo_slug} from GitHub API\" >&2\n return 1\n fi\n fi\n echo \"${version}\"\n}\n\nmkdir -p \"${BUN_INSTALL}\" \"${OPENCODE_CONFIG_DIR}\" \"${OPENCODE_PLUGINS_DIR}\" \"${PROVIDER_DIR}\"\nchmod 0777 \"${OPENCODE_CONFIG_DIR}\"\n\nbun install -g \"opencode-ai@${OPENCODE_VERSION}\" || exit 1\n\n###\n# providers\n# AZURE_FOUNDRY_PROVIDER_REF: if starts with 'v' → version tag, else → branch name\n#\n(\n pushd /tmp \\\n && bun install \"github:ophiosdev/azure-foundry-provider#${AZURE_FOUNDRY_PROVIDER_REF}\" \\\n && cd node_modules/azure-foundry-provider \\\n && bun build --outdir=dist src/index.ts \\\n && mv dist \"${PROVIDER_DIR}/azure-foundry-provider\" \\\n && rm -rf /tmp/* \\\n && popd\n) || exit 1\n\n###\n# Gemini plugin\n#\nbun install -g 'opencode-gemini-auth@latest' || exit 1\n\n###\n# agent browser\n(\n bun install -g --trust agent-browser \\\n && curl -fsSL -o /usr/local/bin/lightpanda 'https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux' \\\n && chmod a+x /usr/local/bin/lightpanda\n) || exit 1\n\n###\n# engram\n#\nengram_resolved_version=$(resolve_github_latest_version \"Gentleman-Programming/engram\" \"${ENGRAM_VERSION}\") || exit 1\nengram_version=\"${engram_resolved_version#v}\"\nengram_archive=\"engram_${engram_version}_linux_amd64.tar.gz\"\nengram_url=\"https://github.com/Gentleman-Programming/engram/releases/download/${engram_resolved_version}/${engram_archive}\"\n(\n curl -fsSL \"${engram_url}\" | tar -C /usr/local/bin -xvzf - engram \\\n && curl -fsSL \"https://raw.githubusercontent.com/Gentleman-Programming/engram/refs/tags/${engram_resolved_version}/plugin/opencode/engram.ts\" -o \"${OPENCODE_PLUGINS_DIR}/engram.ts\"\n)\n\n###\n# UV\nuv_resolved_version=$(resolve_github_latest_version \"astral-sh/uv\" \"${UV_VERSION:-latest}\") || exit 1\nuv_version=\"${uv_resolved_version#v}\"\nuv_url=\"https://releases.astral.sh/github/uv/releases/download/${uv_version}/uv-x86_64-unknown-linux-gnu.tar.gz\"\ncurl -fsSL \"${uv_url}\" | tar -C /usr/local/bin -xvzf - --strip-components=1 --wildcards '*/uv*' || exit 1\n\n##\n# jcodemunch-mcp\nuv pip install --system jcodemunch-mcp || exit 1\n\n###\n# cleanup\nrm -rf /root/.bun\nchown -Rh bun:bun \"$(echo ~bun)\"\n\n" did not complete successfully: exit code: 1
build-and-push
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: matt-usurp/validate-semver@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
ophiosdev~opencode-cli-container~LYM3L7.dockerbuild
32.3 KB
sha256:c9898b4ff4be64c5b63f2668e16c1495098cfff688993566acab1e5c66b96d3d