feat: update deploy

This commit is contained in:
sittichok Ouamsiri
2026-06-15 22:45:38 +07:00
parent 9b550f4be2
commit 18bb686e3e
+7 -3
View File
@@ -12,7 +12,7 @@ permissions:
jobs: jobs:
trigger-internal-build: trigger-internal-build:
uses: infras/workflow-templates/.gitea/workflows/docker-template.yml@1d6923bc938dabb10d5c8c98fadf8abeb6744be3 uses: infras/workflow-templates/.gitea/workflows/docker-template.yml@736cd715b4b9c80f20ec51ef8445cb630c8299f5
with: with:
image_name: 'snip' image_name: 'snip'
image_tag: ${{ gitea.ref_name }} image_tag: ${{ gitea.ref_name }}
@@ -22,9 +22,13 @@ jobs:
bump-compose: bump-compose:
needs: trigger-internal-build needs: trigger-internal-build
uses: infras/workflow-templates/.gitea/workflows/bump-compose-version.yml@1d6923bc938dabb10d5c8c98fadf8abeb6744be3 uses: infras/workflow-templates/.gitea/workflows/bump-compose-version.yml@736cd715b4b9c80f20ec51ef8445cb630c8299f5
with: with:
app: snip app: snip
version: ${{ gitea.ref_name }} update: |
snip-migrate:${{ gitea.ref_name }}
snip-api:${{ gitea.ref_name }}
snip-frontend:${{ gitea.ref_name }}
snip-redirect:${{ gitea.ref_name }}
secrets: secrets:
COMPOSE_TOKEN: ${{ secrets.COMPOSE_TOKEN }} COMPOSE_TOKEN: ${{ secrets.COMPOSE_TOKEN }}