From 26f4198af1e2fba1702f643d7524394d4ad608d0 Mon Sep 17 00:00:00 2001 From: pablomendezroyo <41727368+pablomendezroyo@users.noreply.github.com> Date: Mon, 9 Mar 2026 09:28:48 +0100 Subject: [PATCH] Add GitHub Actions workflow for release on demand --- .github/workflows/release-on-demanda.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/release-on-demanda.yml diff --git a/.github/workflows/release-on-demanda.yml b/.github/workflows/release-on-demanda.yml new file mode 100644 index 0000000..ba83a65 --- /dev/null +++ b/.github/workflows/release-on-demanda.yml @@ -0,0 +1,21 @@ +name: "Main" +on: + workflow_dispatch: + +jobs: + release: + name: Release + runs-on: ipfs-dev-gateway + if: github.event_name == 'workflow_dispatch' + steps: + - uses: actions/checkout@v6 + - name: Setup node + uses: actions/setup-node@v6 + with: + node-version: "20.x" + - name: Log in to GitHub Container Registry + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin + - name: Publish + run: npx @dappnode/dappnodesdk publish patch --github_release --timeout 1h --content_provider=http://10.200.200.7:5001 --eth_provider=https://web3.dappnode.net + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}