fix: export Gitea run context
Staging Backend Quality Gate / validate (push) Failing after 3m48s
Staging Backend Quality Gate / publish-and-deploy (push) Has been skipped

This commit is contained in:
linmeng
2026-07-27 17:58:18 +08:00
parent 1f776bb99d
commit e1ae5feaf6
@@ -24,6 +24,8 @@ jobs:
validate:
runs-on: xiaoxin
timeout-minutes: 30
env:
GITEA_SHA: ${{ gitea.sha }}
steps:
- name: Checkout current Gitea revision
run: |
@@ -66,6 +68,11 @@ jobs:
runs-on: xiaoxin
timeout-minutes: 45
env:
GITEA_SHA: ${{ gitea.sha }}
GITEA_REF: ${{ gitea.ref }}
GITEA_EVENT_NAME: ${{ gitea.event_name }}
GITEA_RUN_NUMBER: ${{ gitea.run_number }}
GITEA_RUN_ATTEMPT: ${{ gitea.run_attempt }}
REGISTRY_HOST: crpi-d1feco6itet73spp.cn-hongkong.personal.cr.aliyuncs.com
IMAGE_REPOSITORY: crpi-d1feco6itet73spp.cn-hongkong.personal.cr.aliyuncs.com/copse/jyotisha
DEPLOY_HOST: ${{ vars.STAGING_HOST }}