diff --git a/.github/workflows/on-push.yml b/.github/workflows/on-push.yml index a83873484..6af93c4a1 100644 --- a/.github/workflows/on-push.yml +++ b/.github/workflows/on-push.yml @@ -168,19 +168,19 @@ jobs: messenger-demo-deploy: runs-on: ubuntu-latest if: github.ref == 'refs/heads/new-ui' - needs: - [ - offchain-resolver-test, - lib-storage-test, - lib-shared-test, - lib-profile-test, - lib-messaging-test, - lib-delivery-test, - lib-crypto-test, - integration-test, - backend-test, - code-quality, - ] + # needs: + # [ + # offchain-resolver-test, + # lib-storage-test, + # lib-shared-test, + # lib-profile-test, + # lib-messaging-test, + # lib-delivery-test, + # lib-crypto-test, + # integration-test, + # backend-test, + # code-quality, + # ] steps: # Check-out your repository. - name: Checkout @@ -211,6 +211,7 @@ jobs: # (Optional, default: "Dockerfile") # Dockerfile name. dockerfile_name: ./packages/messenger-demo/Dockerfile + docker_options: "--build-arg REACT_APP_ETHEREUM_PROVIDER" # (Optional, default: "web") # Select the process type for which you want the docker container to be uploaded. diff --git a/packages/messenger-demo/Dockerfile b/packages/messenger-demo/Dockerfile index 0886e037c..20b1c9632 100644 --- a/packages/messenger-demo/Dockerfile +++ b/packages/messenger-demo/Dockerfile @@ -1,8 +1,9 @@ FROM node:18-alpine WORKDIR /app COPY . . +ARG REACT_APP_ETHEREUM_PROVIDER ENV REACT_APP_DEFAULT_SERVICE REACT_APP_DEFAULT_SERVICE -ENV REACT_APP_ETHEREUM_PROVIDER REACT_APP_ETHEREUM_PROVIDER +ENV REACT_APP_ETHEREUM_PROVIDER=$REACT_APP_ETHEREUM_PROVIDER ENV REACT_APP_WALLET_CONNECT_PROJECT_ID REACT_APP_WALLET_CONNECT_PROJECT_ID ENV REACT_APP_ADDR_ENS_SUBDOMAIN REACT_APP_ADDR_ENS_SUBDOMAIN ENV REACT_APP_BACKEND REACT_APP_BACKEND