Skip to content

Commit 3832603

Browse files
committed
test
1 parent b990a93 commit 3832603

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

.github/workflows/docker-image-prod.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,28 @@ jobs:
6262
builder: ${{ steps.setup-buildx.outputs.name }}
6363
platforms: linux/amd64
6464
file: docker-builds/server/Dockerfile
65-
build-args: ETHLANCE_ENV=${{ matrix.env }}, ETHLANCE_DEPLOY_SEED=${{ secrets.ETHLANCE_DEPLOY_SEED }}, DOCKER_REGISTRY=${{ secrets.ECR_REGISTRY }}
65+
build-args: |
66+
ETHLANCE_ENV=${{ matrix.env }}
67+
ETHLANCE_DEPLOY_SEED=${{ secrets.ETHLANCE_DEPLOY_SEED }}
68+
DOCKER_REGISTRY=${{ secrets.ECR_REGISTRY }}
6669
push: true
67-
tags: ${{ secrets.ECR_REGISTRY }}/ethlance-${{ matrix.env }}-server:${{ github.sha }}, ${{ secrets.ECR_REGISTRY }}/ethlance-${{ matrix.env }}-server:latest
70+
tags: |
71+
${{ secrets.ECR_REGISTRY }}/ethlance-${{ matrix.env }}-server:${{ github.sha }}
72+
${{ secrets.ECR_REGISTRY }}/ethlance-${{ matrix.env }}-server:latest
6873
6974
- name: Build and push UI
7075
uses: docker/build-push-action@v6
7176
with:
7277
context: .
73-
platforms: linux/amd64
78+
platforms: linux/amd64,linux/arm64
7479
builder: ${{ steps.setup-buildx.outputs.name }}
7580
file: docker-builds/ui/Dockerfile
76-
build-args: ETHLANCE_ENV=${{ matrix.env }}, ETHLANCE_DEPLOY_SEED=${{ secrets.ETHLANCE_DEPLOY_SEED }}, DOCKER_REGISTRY=${{ secrets.ECR_REGISTRY }}
81+
build-args: |
82+
ETHLANCE_ENV=${{ matrix.env }}
83+
ETHLANCE_DEPLOY_SEED=${{ secrets.ETHLANCE_DEPLOY_SEED }}
84+
DOCKER_REGISTRY=${{ secrets.ECR_REGISTRY }}
7785
push: true
78-
tags: ${{ secrets.ECR_REGISTRY }}/ethlance-${{ matrix.env }}-ui:${{ github.sha }}, ${{ secrets.ECR_REGISTRY }}/ethlance-${{ matrix.env }}-server:latest
86+
tags: |
87+
${{ secrets.ECR_REGISTRY }}/ethlance-${{ matrix.env }}-ui:${{ github.sha }}
88+
${{ secrets.ECR_REGISTRY }}/ethlance-${{ matrix.env }}-ui:latest
89+

0 commit comments

Comments
 (0)