renaming of image
Some checks failed
Vib Build / check_update (push) Failing after 1m4s
Vib Build / build (push) Has been skipped

This commit is contained in:
Yanick Stephan 2024-12-23 15:25:18 +01:00
parent 309b435834
commit 82a625feb6
3 changed files with 8 additions and 56 deletions

View file

@ -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'

View file

@ -11,7 +11,7 @@ on:
workflow_dispatch:
env:
CUSTOM_IMAGE_NAME: custom
CUSTOM_IMAGE_NAME: vanilla-os-image
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
jobs:
@ -44,7 +44,7 @@ jobs:
- name: Get last successful run
if: ${{ github.ref_type == 'branch' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUBI_TOKEN }}
continue-on-error: true
run: |
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:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.GITHUBI_TOKEN }}
- name: Build and Push the Docker image
id: push

View file

@ -1,11 +1,11 @@
name: Custom Vanilla Desktop # Replace this name with your image name
id: custom # Replace this ID with your image ID
name: Yanick Desktop # Replace this name with your image name
id: vanilla-os-image # Replace this ID with your image ID
stages:
- 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
labels:
maintainer: self-maintained # Optionally, Replace this with your name
maintainer: ItzYanick # Optionally, Replace this with your name
args:
DEBIAN_FRONTEND: noninteractive # Set the image environment as non-interactive
@ -38,9 +38,7 @@ stages:
type: includes
includes:
- 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
- name: set-image-name-abroot