5f0ddc1901
Actions: checkout, setup-go, setup-node, setup-aws Runner image: Go 1.26 + Node 22 + AWS CLI + Docker (docker:29-dind)
42 lines
995 B
Markdown
42 lines
995 B
Markdown
# tinqs/ci
|
|
|
|
Tinqs CI toolchain — composite Gitea Actions and runner base image.
|
|
|
|
## Actions
|
|
|
|
| Action | Description | Replaces |
|
|
|--------|-------------|----------|
|
|
| `tinqs/ci/checkout` | Clone a Gitea repo | `actions/checkout` |
|
|
| `tinqs/ci/setup-go` | Install Go | `actions/setup-go` |
|
|
| `tinqs/ci/setup-node` | Install Node.js + pnpm | `actions/setup-node` |
|
|
| `tinqs/ci/setup-aws` | Install AWS CLI + ECR login | — |
|
|
|
|
### Usage
|
|
|
|
```yaml
|
|
steps:
|
|
- uses: tinqs/ci/checkout@v1
|
|
|
|
- uses: tinqs/ci/setup-go@v1
|
|
with:
|
|
go-version: '1.26.2'
|
|
|
|
- uses: tinqs/ci/setup-node@v1
|
|
with:
|
|
node-version: '22'
|
|
|
|
- uses: tinqs/ci/setup-aws@v1
|
|
with:
|
|
ecr-login: 'true'
|
|
ecr-repo: '149751500842.dkr.ecr.eu-west-1.amazonaws.com/tinqs-git'
|
|
```
|
|
|
|
## Runner Base Image
|
|
|
|
`runner-image/` contains the Dockerfile for the CI runner container. Pre-installs Go, Node.js, AWS CLI, Docker, git, and ssh — no per-job install overhead.
|
|
|
|
```bash
|
|
cd runner-image
|
|
./build-push.sh v1
|
|
```
|