Files
Snip/.gitea/workflows/buildanddeploy.yml
T
sittichok OuamsiriandClaude Opus 5.5 f788ef3588 ci: bump workflow-templates to debabb1, drop registry override
Template now defaults to 10.2.0.10:30008 itself.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-10 00:26:59 +07:00

34 lines
912 B
YAML

name: Auto Build and Deploy
on:
push:
tags:
- 'v*'
permissions:
contents: read
actions: read
packages: write
jobs:
trigger-internal-build:
uses: infras/workflow-templates/.gitea/workflows/docker-template.yml@debabb17cbf09dfadaafa14f9bcab88bd8a3512e
with:
image_name: 'snip'
image_tag: ${{ gitea.ref_name }}
secrets:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
bump-compose:
needs: trigger-internal-build
uses: infras/workflow-templates/.gitea/workflows/bump-compose-version.yml@debabb17cbf09dfadaafa14f9bcab88bd8a3512e
with:
app: snip
updates: |
snip-migrate:${{ gitea.ref_name }}
snip-api:${{ gitea.ref_name }}
snip-frontend:${{ gitea.ref_name }}
snip-redirect:${{ gitea.ref_name }}
secrets:
COMPOSE_TOKEN: ${{ secrets.COMPOSE_TOKEN }}