Skip to content

chore(scripts): Migrate module name from script to scripts #124

chore(scripts): Migrate module name from script to scripts

chore(scripts): Migrate module name from script to scripts #124

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.13
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 }}