diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8ce35a1..7cb2519 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,10 +22,25 @@ jobs: steps: - uses: actions/checkout@v2 - name: Publish + id: publish run: | - npm install - npx @dappnode/dappnodesdk publish patch --dappnode_team_preset + npx @dappnode/dappnodesdk publish patch --dappnode_team_preset | tee /tmp/publish.log + ipfs_hash=$(grep -oP 'Release hash : \K/ipfs/\w+' /tmp/publish.log) + echo "ipfs_hash=$ipfs_hash" >> $GITHUB_OUTPUT env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEVELOPER_ADDRESS: "0x7305356ad936A06c4ea5DF45AD5E5C3ff9Db818E" + - name: Send message to Zulip + uses: zulip/zulip-action@v1 + with: + api-key: ${{ secrets.ZULIP_API_KEY }} + email: "github@hoprnet.org" + organization-url: "https://hopr.zulipchat.com" + type: "stream" + to: "Releases" + topic: "main" + content: | + A new hoprd dAppNode package version is available. + - IPFS Hash: ${{ steps.publish.outputs.ipfs_hash }} + Access to your dAppNode and check for the updates \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index d1f0ab2..0a6148c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: context: . args: UPSTREAM_VERSION: >- - 2.1.0@sha256:28f5db3a37275edecb3b4d52f2d254832bf3346d9464a538c419575a40d8b744 + 2.1.1@sha256:76fd5c58ccef5936e137e4990a7381ef27b25dc35bc4944c3079300951197cda ports: - "3001:3001/tcp" - "9091:9091/tcp"