Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
perrornet committed Jan 15, 2025
1 parent 1fb6107 commit cda01a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: CI
on:
push:
tags: ["*"]
branches: ["master"]
branches: ["fix-ci"]

jobs:
build-and-deploy:
Expand All @@ -25,10 +24,9 @@ jobs:

- name: Build and publish
uses: docker/build-push-action@v3
if: github.ref == 'refs/heads/master'
with:
context: .
file: ./src/Dockerfile.server
push: true
tags: ${{ steps.meta.outputs.tags }}-${{ github.run_number }}
tags: debug-${{ steps.meta.outputs.tags }}-${{ github.run_number }}
labels: ${{ steps.meta.outputs.labels }}
12 changes: 6 additions & 6 deletions src/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ COPY *.json ./
#
RUN npm install
RUN npx lerna bootstrap || true
RUN cd /home/app/node_modules/@ethereum-sourcify/core && npm run build
RUN cd /home/app && npx lerna bootstrap || true
RUN cd /home/app/node_modules/@ethereum-sourcify/verification && npm run build
RUN cd /home/app && npx lerna bootstrap || true
RUN cd /home/app/node_modules/@ethereum-sourcify/validation && npm run build
RUN cd /home/app && npx lerna bootstrap
# RUN cd /home/app/node_modules/@ethereum-sourcify/core && npm run build
# RUN cd /home/app && npx lerna bootstrap || true
# RUN cd /home/app/node_modules/@ethereum-sourcify/verification && npm run build
# RUN cd /home/app && npx lerna bootstrap || true
# RUN cd /home/app/node_modules/@ethereum-sourcify/validation && npm run build
# RUN cd /home/app && npx lerna bootstrap
RUN npx lerna run build

CMD ["npm", "run", "server:start"]

0 comments on commit cda01a6

Please sign in to comment.