Skip to content

Commit

Permalink
chore: docker
Browse files Browse the repository at this point in the history
  • Loading branch information
alissa-tung committed May 6, 2024
1 parent 076b840 commit 2c9d75c
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build-server-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,10 @@ jobs:
- name: Generate Prisma client
run: yarn workspace @affine/server prisma generate

- name: Build graphql Dockerfile
uses: docker/build-push-action@v5
- run: |
docker build -f .github/deployment/node/Dockerfile -t affine-graphql . && docker save -o affine-graphql-image affine-graphql
- uses: actions/upload-artifact@v3
with:
context: .
push: true
pull: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
provenance: true
file: .github/deployment/node/Dockerfile
tags: ghcr.io/toeverything/affine-graphql:${{env.RELEASE_FLAVOR}}-${{ env.GIT_SHORT_HASH }},ghcr.io/toeverything/affine-graphql:${{env.RELEASE_FLAVOR}}
name: affine-graphql-oci-image
path: ./affine-graphql-image

0 comments on commit 2c9d75c

Please sign in to comment.