File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release Azure artifacts for VPC customers
2+
3+ on :
4+ workflow_dispatch :
5+
6+ env :
7+ REPOSITORY : tlm/chat-backend
8+ ACR_REGISTRY : tlmcleanlab.azurecr.io
9+
10+ jobs :
11+ set-variables :
12+ runs-on : ubuntu-latest
13+ outputs :
14+ app_version : ${{ steps.get-app-version.outputs.app_version }}
15+ acr_repository : ${{ env.REPOSITORY }}
16+ acr_registry : ${{ env.ACR_REGISTRY }}
17+ steps :
18+ - name : Checkout repo
19+ uses : actions/checkout@v4
20+
21+ - name : Get app version
22+ id : get-app-version
23+ run : |
24+ helm repo add cleanlab https://cleanlab.github.io/helm-charts/
25+ helm repo update
26+ app_version=$(helm show chart cleanlab/tlm | yq -r '.appVersion')
27+ echo "app_version=${app_version}" >> $GITHUB_OUTPUT
28+
29+ build-push-chat-backend-acr :
30+ uses : ./.github/workflows/build-push-image-acr.yml
31+ needs : set-variables
32+ with :
33+ tags : ${{ needs.set-variables.outputs.app_version }},${{ github.sha }}
34+ registry : ${{ needs.set-variables.outputs.acr_registry }}
35+ repository : ${{ needs.set-variables.outputs.acr_repository }}
36+ context : services/chat-backend
37+ secrets :
38+ acr_registry_username : ${{ secrets.ACR_REGISTRY_USERNAME }}
39+ acr_registry_password : ${{ secrets.ACR_REGISTRY_PASSWORD }}
40+ tlm_core_access_token : ${{ secrets.TLM_CORE_ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments