particle-os-modules/.github/workflows/build-individual.yml
dependabot[bot] ec1872334f
chore(deps): bump sigstore/cosign-installer from 3.5.0 to 3.6.0
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 15:35:25 +00:00

38 lines
1,019 B
YAML

name: build-individual
on:
push:
paths-ignore: # don't rebuild if only documentation has changed
- "**.md"
pull_request:
merge_group:
workflow_dispatch:
jobs:
build-individual:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hustcer/setup-nu@v3.10
with:
version: v0.93
- uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: sigstore/cosign-installer@v3.6.0
- name: Run build and push script
run: nu ./build-individual.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 }}