{"id":28776148,"url":"https://github.com/spinframework/actions","last_synced_at":"2026-02-02T16:06:41.420Z","repository":{"id":296298669,"uuid":"987773645","full_name":"spinframework/actions","owner":"spinframework","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-19T18:07:38.000Z","size":2273,"stargazers_count":1,"open_issues_count":8,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-30T11:46:10.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spinframework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-21T15:05:18.000Z","updated_at":"2025-12-19T18:00:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5828985-65c1-49d9-82c8-932464b3348c","html_url":"https://github.com/spinframework/actions","commit_stats":null,"previous_names":["spinframework/actions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spinframework/actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinframework%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinframework%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinframework%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinframework%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spinframework","download_url":"https://codeload.github.com/spinframework/actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spinframework%2Factions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29015145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T14:58:54.169Z","status":"ssl_error","status_checked_at":"2026-02-02T14:58:51.285Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-17T15:06:33.138Z","updated_at":"2026-02-02T16:06:41.415Z","avatar_url":"https://github.com/spinframework.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `spinframework/actions` - GitHub Action collection for SpinFramework\n\n\nWith the `spinframework/actions` collection, you can incorporate [Spin](https://spinframework.dev/v3/index) in your [GitHub Action](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow). \n\nThis collection of Actions enables the following use cases:\n\n- [x] set up Spin CLI and plugins using [`spinframework/actions/spin/setup@v1`](#install-spin-cli-and-plugins---spinframeworkactionsspinsetupv1)\n- [x] build and push your Spin app to an OCI registry using [`spinframework/actions/spin/push@v1`](#push-spin-app-to-a-registry---spinframeworkactionsspinpushv1)\n\n\nLet's take a look at each one to learn about the required inputs and walk through an example. \n\n## Install Spin CLI and Plugins - `spinframework/actions/spin/setup@v1`\n\nsetup `spin` with optional plugins\n\n### Inputs\n\n| Name         | Required | Default | Description                                                                                                                                 |\n| ------------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |\n| version      | False    | latest  | The version of `spin` to install.                                                                                                           |\n| plugins      | False    | -       | The comma-separated list of Spin plugins to install. [Learn more about Spin plugins.](https://spinframework.dev/v3/managing-plugins)  |\n| github_token | False    | -       | The GitHub token for querying/downloading `spin` releases. If provided, it avoids GitHub API rate limiting during GitHub actions executions |\n\n### Examples\n\n#### Setting up latest version of `spin` \n\n```yaml\nname: spin\n\non:\n  - push\n\njobs:\n  spin:\n    runs-on: ubuntu-latest\n    name: Setup spin\n    steps:\n      - name: Setup `spin`\n        uses: spinframework/actions/spin/setup@v1\n\n      - name: Run `spin version`\n        run: \"spin --version\"\n```\n\n#### Setting up a specific version of `spin` \n\n```yaml\nname: spin\n\non:\n  - push\n\njobs:\n  spin:\n    runs-on: ubuntu-latest\n    name: Setup spin\n    steps:\n      - name: Setup `spin`\n        uses: spinframework/actions/spin/setup@v1\n        with:\n          version: \"v0.10.1\"\n\n      - name: Run `spin version`\n        run: \"spin --version\"\n```\n\n#### Setting up `spin` along with additional plugins\n\n```yaml\nname: spin\n\non:\n  - push\n\njobs:\n  spin:\n    runs-on: ubuntu-latest\n    name: Setup spin\n    steps:\n      - name: Setup `spin`\n        uses: spinframework/actions/spin/setup@v1\n        with:\n          version: \"v0.10.1\"\n          plugins: js2wasm\n\n      - name: Run `spin version`\n        run: \"spin --version\"\n```\n\n## Push Spin app to a Registry - `spinframework/actions/spin/push@v1`\n\nBuild and push the Spin app to your desired OCI Registry (note that this registry must have a publicly accessible endpoint). Also note this action has a prerequisite on Spin already being installed. \n\n### Inputs\n\n| Name               | Required | Default   | Description                                                                              |\n| ------------------ | -------- | --------- | ---------------------------------------------------------------------------------------- |\n| registry_reference | True     | -         | The registry and reference to publish the app to e.g. ttl.sh/cloud-start:v0.0.1 |\n| manifest_file      | False    | spin.toml | Path to `spin.toml`                                                                      |\n| registry           | False    | -         | if provided, used to login to OCI Registry                                               |\n| registry_username  | False    | -         | if provided, used to login to OCI Registry                                               |\n| registry_password  | False    | -         | if provided, used to login to OCI Registry                                               |\n\n### Outputs\n\n| Name   | Description                                         |\n| ------ | --------------------------------------------------- |\n| digest | The image digest of the pushed app e.g. sha256:...  |\n\n### Example\n\n```yaml\nname: spin\n\non:\n  - push\n\njobs:\n  spin:\n    runs-on: ubuntu-latest\n    name: Build and push\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup `spin`\n        uses: spinframework/actions/spin/setup@v1\n        with:\n          version: \"v0.10.1\"\n          plugins: js2wasm\n\n      - name: build and push\n        id: push\n        uses: spinframework/actions/spin/push@v1\n        with:\n          registry: ghcr.io\n          registry_username: ${{ github.actor }}\n          registry_password: ${{ secrets.GITHUB_TOKEN }}\n          registry_reference: \"ghcr.io/${{ env.REPOSITORY }}/${{ env.SAMPLE_APP_IMAGE_NAME }}:${{ github.run_id }}-2\"\n          manifest_file: example-app/spin.toml\n\n      - name: echo digest\n        run: echo ${{ steps.push.outputs.digest }}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspinframework%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspinframework%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspinframework%2Factions/lists"}