ソースを参照

[price-service] Remove wasm from readme and workflow (#548)

* Remove wasm from readme and workflow

* Update CI and Readme with lerna

---------

Co-authored-by: Ali Behjati <bahjatia@gmail.com>
guibescos 2 年 前
コミット
34347c8629

+ 1 - 1
.github/workflows/price-server-image-push.yml

@@ -37,7 +37,7 @@ jobs:
         env:
           AWS_REGION: us-east-1
       - run: |
-          DOCKER_BUILDKIT=1 docker build -f tilt_devnet/docker_images/Dockerfile.wasm -o type=local,dest=. .
+          DOCKER_BUILDKIT=1 docker build -t lerna -f tilt_devnet/docker_images/Dockerfile.lerna .
           DOCKER_BUILDKIT=1 docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f price_service/server/Dockerfile .
           docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
         env:

+ 2 - 8
price_service/server/README.md

@@ -46,17 +46,11 @@ price service you should:
 
 ## Build an image
 
-First, build the wasm files from [the repo root](../../) like below. This command generates the wasm files necessary
-for parsing Pyth messages coming from Wormhole and stores them on [this](../../wormhole_attester/sdk/js) directory.
-
-```
-docker buildx build -f tilt_devnet/docker_images/Dockerfile.wasm -o type=local,dest=. .
-```
-
-Then, build the image from [the repo root](../../) like below. It will create a
+Build the image from [the repo root](../../) like below. It will create a
 local image named `pyth_price_server`.
 
 ```
+$ docker buildx build -f tilt_devnet/docker_images/Dockerfile.lerna -t lerna .
 $ docker buildx build -f price_service/server/Dockerfile -t pyth_price_server .
 ```