@@ -191,7 +191,7 @@ jobs:
191191 uses : ./.github/workflows/build-container-image.yml
192192 with :
193193 file_to_build : Dockerfile
194- push_to_images : ghcr.io/${{ github.repository }}/handon
194+ push_to_images : ghcr.io/${{ github.repository }}
195195 cache : false
196196 flavor : |
197197 latest=false
@@ -205,12 +205,12 @@ jobs:
205205 uses : ./.github/workflows/build-container-image.yml
206206 with :
207207 file_to_build : streaming/Dockerfile
208- push_to_images : ghcr.io/${{ github.repository }}/handon
208+ push_to_images : ghcr.io/${{ github.repository }}-streaming
209209 cache : false
210210 flavor : |
211211 latest=false
212212 tags : |
213- type=raw,value=streaming- ${{ needs.check-and-rebase.outputs.docker_tag }}
213+ type=raw,value=${{ needs.check-and-rebase.outputs.docker_tag }}
214214 secrets : inherit
215215
216216 update-gitops :
@@ -223,7 +223,8 @@ jobs:
223223 env :
224224 DOCKER_TAG : ${{ needs.check-and-rebase.outputs.docker_tag }}
225225 NEW_TAG : ${{ needs.check-and-rebase.outputs.new_tag }}
226- IMAGE : ghcr.io/${{ github.repository }}/handon
226+ IMAGE : ghcr.io/${{ github.repository }}
227+ IMAGE_STREAMING : ghcr.io/${{ github.repository }}-streaming
227228 GH_TOKEN : ${{ secrets.GH_PAT }}
228229
229230 steps :
@@ -243,12 +244,12 @@ jobs:
243244 git checkout -b "$BRANCH"
244245
245246 # web/sidekiq のイメージタグを更新
246- sed -i "s|image: ${IMAGE}:[0-9] .*|image: ${IMAGE}:${DOCKER_TAG}|g" \
247+ sed -i "s|image: ${IMAGE}:.*|image: ${IMAGE}:${DOCKER_TAG}|g" \
247248 manifests/handon/dev/web.yaml \
248249 manifests/handon/dev/sidekiq.yaml
249250
250251 # streaming のイメージタグを更新
251- sed -i "s|image: ${IMAGE}:streaming-[0-9] .*|image: ${IMAGE}:streaming- ${DOCKER_TAG}|g" \
252+ sed -i "s|image: ${IMAGE_STREAMING}: .*|image: ${IMAGE_STREAMING}: ${DOCKER_TAG}|g" \
252253 manifests/handon/dev/streaming.yaml
253254
254255 git add manifests/handon/dev/
@@ -263,6 +264,7 @@ jobs:
263264 - **Upstream tag**: \`${NEW_TAG}\`
264265 - **Docker tag**: \`${DOCKER_TAG}\`
265266 - **Image**: \`${IMAGE}\`
267+ - **Streaming image**: \`${IMAGE_STREAMING}\`
266268
267269 devをマージ・確認後、prd側のPRをマージしてください。" \
268270 --base main \
@@ -277,14 +279,14 @@ jobs:
277279 git checkout -b "$BRANCH"
278280
279281 # web/sidekiq のイメージタグを更新
280- sed -i "s|image: ${IMAGE}:[0-9] .*|image: ${IMAGE}:${DOCKER_TAG}|g" \
282+ sed -i "s|image: ${IMAGE}:.*|image: ${IMAGE}:${DOCKER_TAG}|g" \
281283 manifests/handon/prd/web.yaml \
282284 manifests/handon/prd/sidekiq-default.yaml \
283285 manifests/handon/prd/sidekiq-federation.yaml \
284286 manifests/handon/prd/sidekiq-misc.yaml
285287
286288 # streaming のイメージタグを更新
287- sed -i "s|image: ${IMAGE}:streaming-[0-9] .*|image: ${IMAGE}:streaming- ${DOCKER_TAG}|g" \
289+ sed -i "s|image: ${IMAGE_STREAMING}: .*|image: ${IMAGE_STREAMING}: ${DOCKER_TAG}|g" \
288290 manifests/handon/prd/streaming.yaml
289291
290292 git add manifests/handon/prd/
0 commit comments