fix: export Gitea run context
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user