From 6b19b4f154615b4a2808be2f0e3f88acdf6f1be5 Mon Sep 17 00:00:00 2001 From: Xylight Date: Fri, 2 Aug 2024 15:46:52 -0700 Subject: [PATCH] ci: add node image to github actions --- .github/workflows/docker-image.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1d404060..9d1c9586 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -33,7 +33,7 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ github.token }} - - name: Build and push Docker image + - name: Build/push Bun image uses: docker/build-push-action@v4 with: context: . @@ -43,3 +43,15 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max + target: bun + - name: Build/push Node image + uses: docker/build-push-action@v4 + with: + context: . + platforms: linux/amd64,linux/arm64 + push: true + tags: ${{ steps.meta.outputs.tags }}-node + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max + target: node