diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 02701c6b7..0ded91f2e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,8 +1,7 @@ name: CI on: push: - tags: ["*"] - branches: ["master"] + branches: ["fix-ci"] jobs: build-and-deploy: @@ -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 }} \ No newline at end of file diff --git a/src/Dockerfile.server b/src/Dockerfile.server index 698c35c28..470ed3b4e 100644 --- a/src/Dockerfile.server +++ b/src/Dockerfile.server @@ -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"] \ No newline at end of file