File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 12
12
AZURE_CONTAINER_REGISTRY : ${{ vars.AZURE_CONTAINER_REGISTRY }}
13
13
ACR_LOGIN_USERNAME : ${{ secrets.ACR_LOGIN_USERNAME }}
14
14
ACR_LOGIN_PASSWORD : ${{ secrets.ACR_LOGIN_PASSWORD }}
15
+ DEV_CONTAINER_REGISTRY : ${{ vars.DEV_CONTAINER_REGISTRY }}
16
+ DEV_LOGIN_USERNAME : ${{ secrets.DEV_LOGIN_USERNAME }}
17
+ DEV_LOGIN_PASSWORD : ${{ secrets.DEV_LOGIN_PASSWORD }}
15
18
strategy :
16
19
matrix :
17
20
platform : [amd64, arm64]
@@ -24,13 +27,21 @@ jobs:
24
27
- name : Set up Docker Buildx
25
28
uses : docker/setup-buildx-action@v3
26
29
27
- - name : Log into registry
30
+ - name : Log into Azure registry
28
31
uses : docker/login-action@v3
29
32
with :
30
33
registry : " ${{ env.AZURE_CONTAINER_REGISTRY }}"
31
34
username : " ${{ env.ACR_LOGIN_USERNAME }}"
32
35
password : " ${{ env.ACR_LOGIN_PASSWORD }}"
33
36
37
+ - name : Log into DEV registry
38
+ if : ${{ github.repository == 'code-kern-ai/gates-runtime' }}
39
+ uses : docker/login-action@v3
40
+ with :
41
+ registry : " ${{ env.DEV_CONTAINER_REGISTRY }}"
42
+ username : " ${{ env.DEV_LOGIN_USERNAME }}"
43
+ password : " ${{ env.DEV_LOGIN_PASSWORD }}"
44
+
34
45
- name : Configure branch name
35
46
id : branch_name
36
47
run : echo "GH_REF_NAME=$(echo ${{ github.ref_name }} | sed 's|/|-|g')" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments