cleanup: update docs; feat: attest pushed images
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
d3ee76d01a
commit
219d4e2d18
2 changed files with 15 additions and 4 deletions
13
.github/workflows/vib-build.yml
vendored
13
.github/workflows/vib-build.yml
vendored
|
|
@ -95,7 +95,9 @@ jobs:
|
||||||
if: ${{ needs.check_update.outputs.has_updates == 'true' }}
|
if: ${{ needs.check_update.outputs.has_updates == 'true' }}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
packages: write # Allow pushing images to GHCR.
|
packages: write # Allow pushing images to GHCR
|
||||||
|
attestations: write # To create and write attestations
|
||||||
|
id-token: write # Additional permissions for persistence of the attestations
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
@ -158,3 +160,12 @@ jobs:
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
provenance: false
|
provenance: false
|
||||||
|
|
||||||
|
- name: Attest pushed image
|
||||||
|
uses: actions/attest-build-provenance@v1
|
||||||
|
id: attest
|
||||||
|
if: ${{ github.event_name != 'pull_request' }}
|
||||||
|
with:
|
||||||
|
subject-name: ${{ env.IMAGE_URL }}
|
||||||
|
subject-digest: ${{ steps.push.outputs.digest }}
|
||||||
|
push-to-registry: false
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,9 @@ This template repository is a starting point for creating custom [Vib images](ht
|
||||||
|
|
||||||
If your image is successfully built, you can then point ABRoot to your custom image to use it.
|
If your image is successfully built, you can then point ABRoot to your custom image to use it.
|
||||||
|
|
||||||
- Edit `/etc/abroot/abroot.json` with `host-shell pkexec nano /etc/abroot/abroot.json`.
|
- Edit the `/etc/abroot/abroot.json` file with the command: `host-shell pkexec nano /etc/abroot/abroot.json`.
|
||||||
- Change the "name" entry from something like `vanilla-os/desktop` to `your-github-name/your-image-name` (for example `taukakao/custom`).
|
- Change the "name" entry from something like `vanilla-os/desktop` to `your-github-name/your-image-name` (for example `taukakao/custom`). [**Note**: All characters must be in lowercase.]
|
||||||
- Run `abroot upgrade` to switch to your custom image.
|
- Now, Run `abroot upgrade` to switch to your custom image.
|
||||||
|
|
||||||
## Explore
|
## Explore
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue