@@ -61,30 +61,58 @@ jobs:
6161 push : true
6262 tags : ${{ steps.meta-branch.outputs.tags || steps.meta-release.outputs.tags }}
6363
64- - name : Set image tags ptero (branch)
64+ - name : Set image tags ptero-dcts (branch)
6565 if : github.event_name == 'push'
66- id : ptero-branch
66+ id : ptero-dcts- branch
6767 run : |
68- TAGS="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}-ptero "
68+ TAGS="${{ env.REGISTRY }}/${{ github.repository_owner }}/ptero-dcts :${{ github.ref_name }}"
6969 if [ "${{ github.ref_name }}" = "main" ]; then
70- TAGS="$TAGS,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-ptero "
70+ TAGS="$TAGS,${{ env.REGISTRY }}/${{ github.repository_owner }}/ptero-dcts :latest"
7171 fi
7272 echo "tags=$TAGS" >> $GITHUB_OUTPUT
7373
74- - name : Set image tags ptero (release)
74+ - name : Set image tags ptero-dcts (release)
7575 if : github.event_name == 'release'
76- id : ptero-release
76+ id : ptero-dcts- release
7777 run : |
7878 VERSION="${GITHUB_REF_NAME}"
7979 VERSION="${VERSION#v}"
80- TAGS="${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${VERSION}-ptero ,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-ptero "
80+ TAGS="${{ env.REGISTRY }}/${{ github.repository_owner }}/ptero-dcts :${VERSION},${{ env.REGISTRY }}/${{ github.repository_owner }}/ptero-dcts :latest"
8181 echo "tags=$TAGS" >> $GITHUB_OUTPUT
8282
83- - name : Build and push ptero image
83+ - name : Build and push ptero-dcts image
8484 uses : docker/build-push-action@v5
8585 with :
8686 platforms : linux/amd64,linux/arm64
8787 context : .
88- file : ./Dockerfile.ptero
88+ file : ./ptero/ Dockerfile.dcts
8989 push : true
90- tags : ${{ steps.ptero-branch.outputs.tags || steps.ptero-release.outputs.tags }}
90+ tags : ${{ steps.ptero-dcts-branch.outputs.tags || steps.ptero-dcts-release.outputs.tags }}
91+
92+ - name : Set image tags ptero-livekit (branch)
93+ if : github.event_name == 'push'
94+ id : ptero-livekit-branch
95+ run : |
96+ TAGS="${{ env.REGISTRY }}/${{ github.repository_owner }}/ptero-livekit:${{ github.ref_name }}"
97+ if [ "${{ github.ref_name }}" = "main" ]; then
98+ TAGS="$TAGS,${{ env.REGISTRY }}/${{ github.repository_owner }}/ptero-livekit:latest"
99+ fi
100+ echo "tags=$TAGS" >> $GITHUB_OUTPUT
101+
102+ - name : Set image tags ptero-livekit (release)
103+ if : github.event_name == 'release'
104+ id : ptero-livekit-release
105+ run : |
106+ VERSION="${GITHUB_REF_NAME}"
107+ VERSION="${VERSION#v}"
108+ TAGS="${{ env.REGISTRY }}/${{ github.repository_owner }}/ptero-livekit:${VERSION},${{ env.REGISTRY }}/${{ github.repository_owner }}/ptero-livekit:latest"
109+ echo "tags=$TAGS" >> $GITHUB_OUTPUT
110+
111+ - name : Build and push ptero-livekit image
112+ uses : docker/build-push-action@v5
113+ with :
114+ platforms : linux/amd64,linux/arm64
115+ context : .
116+ file : ./ptero/Dockerfile.livekit
117+ push : true
118+ tags : ${{ steps.ptero-livekit-branch.outputs.tags || steps.ptero-livekit-release.outputs.tags }}
0 commit comments