renaming of image
This commit is contained in:
parent
309b435834
commit
82a625feb6
3 changed files with 8 additions and 56 deletions
46
.github/workflows/release.yml
vendored
46
.github/workflows/release.yml
vendored
|
|
@ -1,46 +0,0 @@
|
||||||
name: Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
env:
|
|
||||||
REGISTRY_USER: ${{ github.actor }}
|
|
||||||
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write # Allow actions to create release
|
|
||||||
attestations: write # To create and write attestations
|
|
||||||
id-token: write # Additional permissions for the persistence of the attestations
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- uses: vanilla-os/vib-gh-action@v0.8.1
|
|
||||||
with:
|
|
||||||
recipe: 'recipe.yml'
|
|
||||||
plugins: 'Vanilla-OS/vib-fsguard:v1.5.3'
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: Containerfile
|
|
||||||
path: Containerfile
|
|
||||||
|
|
||||||
- name: Create Release
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: gh release create "${{ github.ref_name }}" --generate-notes Containerfile
|
|
||||||
|
|
||||||
- name: Attest Release Files
|
|
||||||
id: attest
|
|
||||||
uses: actions/attest-build-provenance@v1
|
|
||||||
with:
|
|
||||||
subject-path: 'Containerfile'
|
|
||||||
6
.github/workflows/vib-build.yml
vendored
6
.github/workflows/vib-build.yml
vendored
|
|
@ -11,7 +11,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CUSTOM_IMAGE_NAME: custom
|
CUSTOM_IMAGE_NAME: vanilla-os-image
|
||||||
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
|
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
- name: Get last successful run
|
- name: Get last successful run
|
||||||
if: ${{ github.ref_type == 'branch' }}
|
if: ${{ github.ref_type == 'branch' }}
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUBI_TOKEN }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
gh run list -b "${{ github.ref_name }}" -w "${{ github.workflow }}" -s "success" -L 1 --json databaseId > last_run.json
|
gh run list -b "${{ github.ref_name }}" -w "${{ github.workflow }}" -s "success" -L 1 --json databaseId > last_run.json
|
||||||
|
|
@ -145,7 +145,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUBI_TOKEN }}
|
||||||
|
|
||||||
- name: Build and Push the Docker image
|
- name: Build and Push the Docker image
|
||||||
id: push
|
id: push
|
||||||
|
|
|
||||||
12
recipe.yml
12
recipe.yml
|
|
@ -1,11 +1,11 @@
|
||||||
name: Custom Vanilla Desktop # Replace this name with your image name
|
name: Yanick Desktop # Replace this name with your image name
|
||||||
id: custom # Replace this ID with your image ID
|
id: vanilla-os-image # Replace this ID with your image ID
|
||||||
stages:
|
stages:
|
||||||
- id: build
|
- id: build
|
||||||
base: ghcr.io/vanilla-os/desktop:main # Optionally, Replace this image URL with a different one i.e. nvidia:main, etc
|
base: ghcr.io/vanilla-os/nvidia:main # Optionally, Replace this image URL with a different one i.e. nvidia:main, etc
|
||||||
singlelayer: false
|
singlelayer: false
|
||||||
labels:
|
labels:
|
||||||
maintainer: self-maintained # Optionally, Replace this with your name
|
maintainer: ItzYanick # Optionally, Replace this with your name
|
||||||
args:
|
args:
|
||||||
DEBIAN_FRONTEND: noninteractive # Set the image environment as non-interactive
|
DEBIAN_FRONTEND: noninteractive # Set the image environment as non-interactive
|
||||||
|
|
||||||
|
|
@ -38,9 +38,7 @@ stages:
|
||||||
type: includes
|
type: includes
|
||||||
includes:
|
includes:
|
||||||
- modules/50-install-debs.yml # Sample local module present in this repository
|
- modules/50-install-debs.yml # Sample local module present in this repository
|
||||||
- gh:vanilla-os/dev-image:main:modules/00-basics.yml # Sample GitHub remote module in the format: `gh:your-name/your-repo:branch:modules/file.yml`
|
|
||||||
- https://raw.githubusercontent.com/Vanilla-OS/dev-image/main/modules/05-go.yml # Sample full URL remote module
|
|
||||||
|
|
||||||
# Put your custom actions above this comment
|
# Put your custom actions above this comment
|
||||||
|
|
||||||
- name: set-image-name-abroot
|
- name: set-image-name-abroot
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue