From b506c6b4350dbb736e13083c20a76a10b9129b51 Mon Sep 17 00:00:00 2001 From: Henry Vu <26101787+hungran@users.noreply.github.com> Date: Thu, 14 Dec 2023 17:49:40 +0700 Subject: [PATCH] cover gcr.io/pipecd and ghcr.io/pipe-cd (#4719) * cover gcr.io/pipecd and ghcr.io/pipe-cd Signed-off-by: hungran <26101787+hungran@users.noreply.github.com> * iamge okd should have prefix -okd eg: Dockefile-okd Signed-off-by: hungran <26101787+hungran@users.noreply.github.com> --------- Signed-off-by: hungran <26101787+hungran@users.noreply.github.com> Signed-off-by: sZma5a --- .github/workflows/publish_image_chart.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish_image_chart.yaml b/.github/workflows/publish_image_chart.yaml index 74368866d2..4c5483e8c9 100644 --- a/.github/workflows/publish_image_chart.yaml +++ b/.github/workflows/publish_image_chart.yaml @@ -35,19 +35,14 @@ jobs: - pipectl include: - image: helloworld - dockerfile: cmd/helloworld/Dockerfile - image: launcher - dockerfile: cmd/launcher/Dockerfile - image: launcher-okd - dockerfile: cmd/launcher/Dockerfile-okd + okd: -okd - image: pipecd - dockerfile: cmd/pipecd/Dockerfile - image: piped - dockerfile: cmd/piped/Dockerfile - image: piped-okd - dockerfile: cmd/piped/Dockerfile-okd + okd: -okd - image: pipectl - dockerfile: cmd/pipectl/Dockerfile exclude: - image: launcher-okd container_registry: gcr.io/pipecd @@ -119,7 +114,7 @@ jobs: with: push: true context: . - file: ${{ matrix.dockerfile }} + file: cmd/${{ matrix.image }}/Dockerfile${{ matrix.okd }} platforms: linux/amd64,linux/arm64 tags: ${{ matrix.container_registry }}/${{ matrix.image }}:${{ env.PIPECD_VERSION }}