From 824d58cc144feae5ff506fd57ec3f6cdf43d2164 Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Wed, 18 Sep 2024 16:53:15 +0200 Subject: [PATCH] Update enterprise image builds --- .github/workflows/docker-build-and-push.yml | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/docker-build-and-push.yml b/.github/workflows/docker-build-and-push.yml index 82663a664..264d9a654 100644 --- a/.github/workflows/docker-build-and-push.yml +++ b/.github/workflows/docker-build-and-push.yml @@ -70,3 +70,25 @@ jobs: ghcr.io/${{ github.repository }}/backend:${{ env.VERSION }} ${{ fromJSON(inputs.isStableRelease) && 'ghcr.io/${{ github.repository }}/backend:latest' || null }} platforms: linux/amd64,linux/arm64,linux/arm64/v8 + + - name: Build and Push Enterprise Frontend Docker Image + uses: docker/build-push-action@v6 + with: + context: . + file: ./enterprise/frontend/Dockerfile + push: true + tags: | + ghcr.io/${{ github.repository }}/enterprise-frontend:${{ env.VERSION }} + ${{ fromJSON(inputs.isStableRelease) && 'ghcr.io/${{ github.repository }}/enterprise-frontend:latest' || null }} + platforms: linux/amd64,linux/arm64,linux/arm64/v8 + + - name: Build and Push Enterprise Backend Docker Image + uses: docker/build-push-action@v6 + with: + context: . + file: ./enterprise/backend/Dockerfile + push: true + tags: | + ghcr.io/${{ github.repository }}/enterprise-backend:${{ env.VERSION }} + ${{ fromJSON(inputs.isStableRelease) && 'ghcr.io/${{ github.repository }}/enterprise-backend:latest' || null }} + platforms: linux/amd64,linux/arm64,linux/arm64/v8