diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 6a195ae79358f0..3200be0afa384a 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -6,23 +6,30 @@ on: - "main" paths: - api/Dockerfile + - web/Dockerfile concurrency: group: docker-build-${{ github.head_ref || github.run_id }} cancel-in-progress: true jobs: - build-api-docker: + build-docker: runs-on: ubuntu-latest strategy: matrix: include: - platform: linux/amd64 - service_name: "build-api-amd64" + service_name: "api-amd64" context: "api" - platform: linux/arm64 - service_name: "build-api-arm64" + service_name: "api-arm64" context: "api" + - platform: linux/amd64 + service_name: "web-amd64" + context: "web" + - platform: linux/arm64 + service_name: "web-arm64" + context: "web" steps: - name: Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/web/Dockerfile b/web/Dockerfile index 6118adbca4c447..6c341fac4e23a3 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -63,7 +63,6 @@ RUN yarn global add pm2 \ && chown -R 1001:0 /.pm2 /app/web \ && chmod -R g=u /.pm2 /app/web - ARG COMMIT_SHA ENV COMMIT_SHA=${COMMIT_SHA}