Browse Source

.env file to specify default JOYSTREAM_NODE_TAG

Mokhtar Naamani 4 years ago
parent
commit
24b5688c65
2 changed files with 5 additions and 1 deletions
  1. 2 0
      .env
  2. 3 1
      .github/workflows/run-network-tests-push.yml

+ 2 - 0
.env

@@ -0,0 +1,2 @@
+# joystream/node default tag used in docker-compose.yml file
+JOYSTREAM_NODE_TAG=latest

+ 3 - 1
.github/workflows/run-network-tests-push.yml

@@ -17,6 +17,8 @@ jobs:
       - name: Ensure tests are runnable
         run: yarn workspace network-tests build
       - name: Start chain
-        run: docker-compose up -d
+        run: |
+          JOYSTREAM_NODE_TAG=latest docker-compose build
+          JOYSTREAM_NODE_TAG=latest docker-compose up -d
       - name: Execute network tests
         run: yarn workspace network-tests test