Compare commits
3 commits
8c55802514
...
04aa56a865
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04aa56a865 | ||
| 420bc08ecd | |||
|
|
4b80d06fde |
3 changed files with 26 additions and 13 deletions
20
.github/workflows/build-bluebuild.yml
vendored
20
.github/workflows/build-bluebuild.yml
vendored
|
|
@ -48,7 +48,9 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
# Pinned to last v4 tag confirmed to ship on node20. v4.2+ ships
|
||||||
|
# node24 which forgejo-runner v6.4.0 (node20) cannot exec.
|
||||||
|
uses: actions/checkout@v4.1.7
|
||||||
|
|
||||||
- name: Free up disk
|
- name: Free up disk
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -57,12 +59,12 @@ jobs:
|
||||||
df -h
|
df -h
|
||||||
|
|
||||||
# BlueBuild action wraps: image build, cosign sign (keyless via
|
# BlueBuild action wraps: image build, cosign sign (keyless via
|
||||||
# Sigstore), GHCR push. To pin to a commit SHA in a follow-up
|
# Sigstore), GHCR push. Pinned to a commit SHA per CI hardening
|
||||||
# once the workflow shape stabilises (CI hardening agent 8,
|
# agent 8 (2026-05-05 wave). The trailing comment records the
|
||||||
# 2026-05-05 wave).
|
# tag the SHA resolved from, so future bumps stay legible.
|
||||||
- name: Build + push veilor-os OCI
|
- name: Build + push veilor-os OCI
|
||||||
id: bluebuild
|
id: bluebuild
|
||||||
uses: blue-build/github-action@v1
|
uses: blue-build/github-action@24d146df25adc2cf579e918efe2d9bff6adea408 # v1
|
||||||
with:
|
with:
|
||||||
recipe: bluebuild/recipe.yml
|
recipe: bluebuild/recipe.yml
|
||||||
registry_token: ${{ secrets.GITHUB_TOKEN }}
|
registry_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
@ -85,7 +87,10 @@ jobs:
|
||||||
|
|
||||||
- name: SBOM (SPDX)
|
- name: SBOM (SPDX)
|
||||||
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
||||||
uses: anchore/sbom-action@v0
|
# Pinned to last v0 tag confirmed to ship on node20. The `@v0`
|
||||||
|
# floating tag rolls forward and will eventually pull a node24
|
||||||
|
# release. TODO(infra): SHA pin in a follow-up sweep.
|
||||||
|
uses: anchore/sbom-action@v0.17.2
|
||||||
with:
|
with:
|
||||||
image: ${{ env.OCI_IMAGE }}:${{ env.OCI_TAG }}
|
image: ${{ env.OCI_IMAGE }}:${{ env.OCI_TAG }}
|
||||||
format: spdx-json
|
format: spdx-json
|
||||||
|
|
@ -93,7 +98,8 @@ jobs:
|
||||||
|
|
||||||
- name: Build provenance attestation
|
- name: Build provenance attestation
|
||||||
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
||||||
uses: actions/attest-build-provenance@v2
|
# Pinned to last v2 tag confirmed to ship on node20.
|
||||||
|
uses: actions/attest-build-provenance@v2.2.3
|
||||||
with:
|
with:
|
||||||
subject-name: ${{ env.OCI_IMAGE }}
|
subject-name: ${{ env.OCI_IMAGE }}
|
||||||
subject-digest: ${{ steps.bluebuild.outputs.digest }}
|
subject-digest: ${{ steps.bluebuild.outputs.digest }}
|
||||||
|
|
|
||||||
10
.github/workflows/build-iso.yml
vendored
10
.github/workflows/build-iso.yml
vendored
|
|
@ -30,7 +30,9 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
# Pinned to last v4 tag confirmed to ship on node20. v4.2+ ships
|
||||||
|
# node24 which forgejo-runner v6.4.0 (node20) cannot exec.
|
||||||
|
uses: actions/checkout@v4.1.7
|
||||||
|
|
||||||
- name: Free up disk
|
- name: Free up disk
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -199,7 +201,8 @@ jobs:
|
||||||
|
|
||||||
- name: Publish to ci-latest rolling prerelease
|
- name: Publish to ci-latest rolling prerelease
|
||||||
if: success() && github.ref == 'refs/heads/main'
|
if: success() && github.ref == 'refs/heads/main'
|
||||||
uses: softprops/action-gh-release@v2
|
# Pinned to last v2 tag confirmed to ship on node20.
|
||||||
|
uses: softprops/action-gh-release@v2.0.4
|
||||||
with:
|
with:
|
||||||
tag_name: ci-latest
|
tag_name: ci-latest
|
||||||
name: "ci-latest (auto)"
|
name: "ci-latest (auto)"
|
||||||
|
|
@ -233,7 +236,8 @@ jobs:
|
||||||
|
|
||||||
- name: Attach to release on tag
|
- name: Attach to release on tag
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
uses: softprops/action-gh-release@v2
|
# Pinned to last v2 tag confirmed to ship on node20.
|
||||||
|
uses: softprops/action-gh-release@v2.0.4
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
build/out/*.iso
|
build/out/*.iso
|
||||||
|
|
|
||||||
9
.github/workflows/lint.yml
vendored
9
.github/workflows/lint.yml
vendored
|
|
@ -12,7 +12,8 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: registry.fedoraproject.org/fedora:43
|
image: registry.fedoraproject.org/fedora:43
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
# Pinned to last v4 tag confirmed to ship on node20.
|
||||||
|
- uses: actions/checkout@v4.1.7
|
||||||
- run: dnf -y install pykickstart
|
- run: dnf -y install pykickstart
|
||||||
- run: ksvalidator kickstart/veilor-os.ks
|
- run: ksvalidator kickstart/veilor-os.ks
|
||||||
|
|
||||||
|
|
@ -20,7 +21,8 @@ jobs:
|
||||||
name: Shell scripts
|
name: Shell scripts
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
# Pinned to last v4 tag confirmed to ship on node20.
|
||||||
|
- uses: actions/checkout@v4.1.7
|
||||||
- uses: ludeeus/action-shellcheck@master
|
- uses: ludeeus/action-shellcheck@master
|
||||||
with:
|
with:
|
||||||
severity: warning
|
severity: warning
|
||||||
|
|
@ -30,7 +32,8 @@ jobs:
|
||||||
name: No personal/onyx leaks
|
name: No personal/onyx leaks
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
# Pinned to last v4 tag confirmed to ship on node20.
|
||||||
|
- uses: actions/checkout@v4.1.7
|
||||||
- name: Grep for leaks
|
- name: Grep for leaks
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue