adding back the rm package-lock.json and arm64 (#740)

* added back linux/arm64

* added back linux/arm64/v8

* added yarn in dockerfile

* added yarn in dockerfile

* added yarn in dockerfile

* Lint and format code

* Update proto files and types

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
kevkevin 2023-08-01 17:24:36 -05:00 committed by GitHub
parent 8153322a96
commit 8bb64c54ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -51,7 +51,7 @@ jobs:
docker buildx build \
--cache-from "type=local,src=/tmp/.buildx-cache" \
--cache-to "type=local,dest=/tmp/.buildx-cache" \
--platform linux/amd64,linux/arm/v7 \
--platform linux/amd64,linux/arm64/v8,linux/arm/v7 \
--tag "${{ secrets.DOCKER_HUB_USER }}/sphinx-relay:${{ env.RELEASE_TAG }}" \
--output "type=registry" ./
- name: Run Docker buildx with latest tag
@ -59,6 +59,6 @@ jobs:
docker buildx build \
--cache-from "type=local,src=/tmp/.buildx-cache" \
--cache-to "type=local,dest=/tmp/.buildx-cache" \
--platform linux/amd64,linux/arm/v7 \
--platform linux/amd64,linux/arm64/v8,linux/arm/v7 \
--tag "${{ secrets.DOCKER_HUB_USER }}/sphinx-relay:latest" \
--output "type=registry" ./

View file

@ -11,6 +11,8 @@ RUN which python3
RUN apt install -y g++ gcc libmcrypt-dev
RUN apt-get -y install git
RUN rm ./package-lock.json
RUN npm install
RUN cp /relay/config/app.json /relay/dist/config/app.json