Skip to content

Commit

Permalink
adding back the rm package-lock.json and arm64 (#740)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
kevkevinpal and github-actions[bot] authored Aug 1, 2023
1 parent 8153322 commit 8bb64c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ 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
run: |
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" ./
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8bb64c5

Please sign in to comment.