13
13
AZURE_CONTAINER_REGISTRY : ${{ vars.AZURE_CONTAINER_REGISTRY }}
14
14
ACR_LOGIN_USERNAME : ${{ secrets.ACR_LOGIN_USERNAME }}
15
15
ACR_LOGIN_PASSWORD : ${{ secrets.ACR_LOGIN_PASSWORD }}
16
+ DEV_CONTAINER_REGISTRY : ${{ vars.DEV_CONTAINER_REGISTRY }}
17
+ DEV_LOGIN_USERNAME : ${{ secrets.DEV_LOGIN_USERNAME }}
18
+ DEV_LOGIN_PASSWORD : ${{ secrets.DEV_LOGIN_PASSWORD }}
16
19
IMAGE_TAG : ${{ github.event_name == 'release' && github.event.release.tag_name || github.sha }}
17
20
steps :
18
21
- name : Checkout repository
@@ -30,13 +33,21 @@ jobs:
30
33
with :
31
34
platforms : linux/amd64,linux/arm64
32
35
33
- - name : Log into registry
36
+ - name : Log into Azure registry
34
37
uses : docker/login-action@v3
35
38
with :
36
39
registry : " ${{ env.AZURE_CONTAINER_REGISTRY }}"
37
40
username : " ${{ env.ACR_LOGIN_USERNAME }}"
38
41
password : " ${{ env.ACR_LOGIN_PASSWORD }}"
39
-
42
+
43
+ - name : Log into DEV registry
44
+ if : ${{ github.repository == 'code-kern-ai/gates-runtime' }}
45
+ uses : docker/login-action@v3
46
+ with :
47
+ registry : " ${{ env.DEV_CONTAINER_REGISTRY }}"
48
+ username : " ${{ env.DEV_LOGIN_USERNAME }}"
49
+ password : " ${{ env.DEV_LOGIN_PASSWORD }}"
50
+
40
51
- name : Build & Push ${{ github.event.repository.name }}:amd64
41
52
if : ${{ github.event_name != 'release' }}
42
53
uses : docker/build-push-action@v5
0 commit comments