feat: create Gitea Actions CI/CD workflow

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-08-18 22:53:18 +03:00
parent cca176270c
commit adfffa0f4b
2 changed files with 60 additions and 9 deletions

View File

@@ -66,15 +66,15 @@
- [x] verify docker-compose.yml syntax with `docker-compose config`
### Task 3: Create Gitea Actions CI/CD Workflow
- [ ] create `.gitea/workflows/deploy.yml` file
- [ ] add checkout step (actions/checkout@v3)
- [ ] add setup Go step (actions/setup-go@v4, go-version: '1.22')
- [ ] add Go modules cache step (actions/cache@v3)
- [ ] add lint & test step (golangci-lint, go test -v -race ./...)
- [ ] add Docker Buildx setup step (docker/setup-buildx-action@v2)
- [ ] add Docker login step (docker/login-action@v2)
- [ ] add Docker build & push step (docker/build-push-action@v4, tags: latest and {{.CommitID}})
- [ ] verify Gitea Actions workflow YAML syntax
- [x] create `.gitea/workflows/deploy.yml` file
- [x] add checkout step (actions/checkout@v3)
- [x] add setup Go step (actions/setup-go@v4, go-version: '1.22')
- [x] add Go modules cache step (actions/cache@v3)
- [x] add lint & test step (golangci-lint, go test -v -race ./...)
- [x] add Docker Buildx setup step (docker/setup-buildx-action@v2)
- [x] add Docker login step (docker/login-action@v2)
- [x] add Docker build & push step (docker/build-push-action@v4, tags: latest and {{.CommitID}})
- [x] verify Gitea Actions workflow YAML syntax
### Task 4: Verify acceptance criteria
- [ ] verify Dockerfile matches multi-stage specification