particle-os-modules/.github/workflows/build-unified.yml
dependabot[bot] e595846856
chore(deps): bump hustcer/setup-nu from 3.19 to 3.20 (#431)
---
updated-dependencies:
- dependency-name: hustcer/setup-nu
  dependency-version: '3.20'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-21 19:40:22 +02:00

38 lines
1.2 KiB
YAML

name: build-unified
on:
push:
paths-ignore: # don't rebuild if only documentation has changed
- "**.md"
pull_request:
merge_group:
workflow_dispatch:
jobs:
build-unified:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: hustcer/setup-nu@985d59ec83ae3e3418f9d36471cda38b9d8b9879 # v3.20
with:
version: v0.93
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Login to GitHub Container Registry
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3.9.1
- name: Run build and push script
run: nu ./build-unified.nu
env:
REGISTRY: ghcr.io/${{ github.repository_owner }}
COSIGN_PRIVATE_KEY: ${{ secrets.SIGNING_SECRET }}
GH_EVENT_NAME: ${{ github.event_name }}
GH_PR_NUMBER: ${{ github.event.number }}
GH_BRANCH: ${{ github.ref_name }}