Skip to content
This repository was archived by the owner on Jul 23, 2026. It is now read-only.

TenkiCloud/actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TenkiCloud Actions

First-party GitHub Actions for Tenki workflows.

Actions

  • setup-cli installs the tenki CLI on Linux and macOS runners.
  • template-build creates or updates and builds sandbox templates from .tenki/template.json.
  • template-publish is deprecated and remains available for legacy setup-script templates.

Typical template workflow

Use setup-cli first, then template-build.

name: Build sandbox template

on:
  push:
    branches: [main]
    paths:
      - ".tenki/template.json"

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: TenkiCloud/actions/setup-cli@v1
        with:
          version: latest
      - uses: TenkiCloud/actions/template-build@v1
        id: template
        env:
          TENKI_API_KEY: ${{ secrets.TENKI_API_KEY }}
        with:
          template: node-api
      - run: echo "Built ${{ steps.template.outputs.image }}"

Version pinning

Pin action versions by major tag for patch updates:

- uses: TenkiCloud/actions/setup-cli@v1
- uses: TenkiCloud/actions/template-build@v1

Pin the CLI independently:

- uses: TenkiCloud/actions/setup-cli@v1
  with:
    version: vX.Y.Z

Auth

template-build reads TENKI_API_KEY or TENKI_AUTH_TOKEN from the job environment. Do not pass credentials through with:.

Required secrets for most workflows:

  • TENKI_API_KEY or TENKI_AUTH_TOKEN: Tenki API credential.

The credential determines the Workspace for template operations.