Skip to content

ci: use dappnode-build-hash reusable workflow#9

Merged
3alpha merged 1 commit into
masterfrom
refactor/use-dappnode-build-hash
Jul 8, 2026
Merged

ci: use dappnode-build-hash reusable workflow#9
3alpha merged 1 commit into
masterfrom
refactor/use-dappnode-build-hash

Conversation

@3alpha

@3alpha 3alpha commented Jul 8, 2026

Copy link
Copy Markdown
Member

Context

This repo's build pipeline (either an inlined build-test step with --skip_save or an inlined npx dappnodesdk github-action build call) is now consolidated into a thin caller for the new dappnode/workflows/.github/workflows/dappnode-build-hash.yml@master reusable workflow. This produces a properly tagged IPFS hash comment on every push to a non-default branch and on every PR.

Approach

  • .github/workflows/build.yml — thin stub calling dappnode-build-hash with secrets: inherit.
  • .github/workflows/main.yml — slimmed to the release job only. build-test removed; actions/checkout upgraded to v7; Node 24 added.
  • The pull_request trigger is moved from main.yml to build.yml (the new reusable workflow handles both events).

Test instructions

  1. Open a test PR or push to a feature branch.
  2. Verify the Build workflow runs and posts a comment with an IPFS install link and hash tagged (by dappnodebot/build-action).
  3. After merge to the default branch, the Main workflow should run the release.

Replaces the inlined build step (which used `--skip_save` and never
posted an IPFS hash on PRs) with a thin caller for the new
`dappnode/workflows/.github/workflows/dappnode-build-hash.yml@master`
reusable workflow. `build.yml` now handles both push and PR events;
`main.yml` is reduced to the release job only.

Also upgrades `actions/checkout` to v7 and adds Node 24 setup for the
release job.
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

Dappnode bot has built and pinned the built packages to an IPFS node, for commit: eece321

This is a development version and should only be installed for testing purposes.

  1. Package pi-hole.dnp.dappnode.eth

Install link

Hash: /ipfs/QmXKjMr87DLmfENirmyveyi5rSrwxfBX1sSLFo8uyZvHTQ

(by dappnodebot/build-action)

@3alpha 3alpha merged commit 7176e9e into master Jul 8, 2026
2 checks passed
@3alpha 3alpha self-assigned this Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant