Skip to content

Commit

Permalink
fix(infra): resolve github actions build-args typo (#1807)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssupecial authored Jul 12, 2024
1 parent e0bb285 commit e36ab7b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/cd-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit e36ab7b

Please sign in to comment.