From e36ab7bdea72dd1882a373e1bbc55c8fbe34e177 Mon Sep 17 00:00:00 2001 From: Eunsu Kang <56429615+ssupecial@users.noreply.github.com> Date: Fri, 12 Jul 2024 10:22:33 +0900 Subject: [PATCH] fix(infra): resolve github actions build-args typo (#1807) --- .github/workflows/cd-prod.yml | 16 ++++++++-------- .github/workflows/cd-stage.yml | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/cd-prod.yml b/.github/workflows/cd-prod.yml index dbb1288b85..a62fab0e0e 100644 --- a/.github/workflows/cd-prod.yml +++ b/.github/workflows/cd-prod.yml @@ -35,9 +35,9 @@ jobs: with: file: ./apps/backend/Dockerfile push: true - build-args: - target: client - app_env: production + build-args: | + target=client + app_env=production tags: ${{ steps.login-ecr.outputs.registry }}/codedang-client-api:latest build-admin-api: @@ -61,9 +61,9 @@ jobs: with: file: ./apps/backend/Dockerfile push: true - build-args: - target: admin - app_env: production + build-args: | + target=admin + app_env=production tags: ${{ steps.login-ecr.outputs.registry }}/codedang-admin-api:latest build-iris: @@ -87,8 +87,8 @@ jobs: with: push: true context: '{{defaultContext}}:apps/iris' - build-args: - app_env: production + build-args: | + app_env=production tags: ${{ steps.login-ecr.outputs.registry }}/codedang-iris:latest deploy: diff --git a/.github/workflows/cd-stage.yml b/.github/workflows/cd-stage.yml index a21bb269b3..8e315d3df4 100644 --- a/.github/workflows/cd-stage.yml +++ b/.github/workflows/cd-stage.yml @@ -29,9 +29,9 @@ jobs: with: file: ./apps/backend/Dockerfile # build with root context push: true - build-args: - target: client - app_env: stage + build-args: | + target=client + app_env=stage tags: ghcr.io/${{ github.repository_owner }}/codedang-client-api:latest build-admin-api: @@ -53,9 +53,9 @@ jobs: with: file: ./apps/backend/Dockerfile # build with root context push: true - build-args: - target: admin - app_env: stage + build-args: | + target=admin + app_env=stage tags: ghcr.io/${{ github.repository_owner }}/codedang-admin-api:latest build-iris: @@ -77,8 +77,8 @@ jobs: with: push: true context: '{{defaultContext}}:apps/iris' - build-args: - app_env: stage + build-args: | + app_env=stage tags: ghcr.io/${{ github.repository_owner }}/codedang-iris:latest run-server: