chore: bump Vib to v0.6.2

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
K.B.Dharun Krishna 2024-04-10 19:40:03 +05:30 committed by Tau
parent cbfc5cf8f2
commit 171b12a59a
3 changed files with 71 additions and 66 deletions

View file

@ -91,10 +91,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: vanilla-os/vib-gh-action@v0.3.3-1 - uses: vanilla-os/vib-gh-action@v0.6.2
with: with:
recipe: 'recipe.yml' recipe: 'recipe.yml'
plugins: 'Vanilla-OS/vib-fsguard:v1.2-1' plugins: 'Vanilla-OS/vib-fsguard:v1.3-2'
- name: Generate image name - name: Generate image name
run: | run: |

View file

@ -13,10 +13,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: vanilla-os/vib-gh-action@v0.3.3-1 - uses: vanilla-os/vib-gh-action@v0.6.2
with: with:
recipe: 'recipe.yml' recipe: 'recipe.yml'
plugins: 'Vanilla-OS/vib-fsguard:v1.2-1' plugins: 'Vanilla-OS/vib-fsguard:v1.3-2'
- name: Build the Docker image - name: Build the Docker image
run: docker image build -f Containerfile --tag testing . run: docker image build -f Containerfile --tag testing .

View file

@ -1,67 +1,72 @@
base: ghcr.io/vanilla-os/desktop:main
name: Custom Vanilla Desktop name: Custom Vanilla Desktop
id: vanilla-custom id: vanilla-custom
labels: stages:
maintainer: self-maintained - id: build
args: base: ghcr.io/vanilla-os/desktop:main
DEBIAN_FRONTEND: noninteractive singlelayer: false
labels:
maintainer: self-maintained
args:
DEBIAN_FRONTEND: noninteractive
runs:
- echo 'APT::Install-Recommends "1";' > /etc/apt/apt.conf.d/01norecommends
modules:
- name: init-setup
type: shell
commands:
- lpkg --unlock
- apt-get update
# Put your custom actions behind this comment
- name: example-packages
type: apt
source:
packages:
- vim
- name: example-commands
type: shell
commands:
- echo Example output
- name: example-modules
type: includes
includes:
- modules/50-install-debs
# Put your custom actions before this comment
- name: set-image-name-abroot
type: includes
includes:
- modules/80-set-image-abroot-config
- name: cleanup
type: shell
commands:
- apt-get autoremove -y
- apt-get clean
- lpkg --lock
- name: fsguard
type: fsguard
CustomFsGuard: false
FsGuardLocation: "/usr/sbin/FsGuard"
GenerateKey: true
FilelistPaths: ["/usr/bin"]
modules: modules:
- name: remove-prev-fsguard - name: init-setup
type: shell type: shell
commands: commands:
- rm -rf /FsGuard - lpkg --unlock
- rm -f ./minisign.pub ./minisign.key - apt-get update
- chmod +x /usr/sbin/init
- name: cleanup2 # Put your custom actions behind this comment
type: shell
commands: - name: example-packages
- rm -rf /tmp/* type: apt
- rm -rf /var/tmp/* source:
- rm -rf /sources packages:
- vim
- name: example-commands
type: shell
commands:
- echo Example output
- name: example-modules
type: includes
includes:
- modules/50-install-debs.yml
# Put your custom actions before this comment
- name: set-image-name-abroot
type: includes
includes:
- modules/80-set-image-abroot-config.yml
- name: cleanup
type: shell
commands:
- apt-get autoremove -y
- apt-get clean
- lpkg --lock
- name: fsguard
type: fsguard
CustomFsGuard: false
FsGuardLocation: "/usr/sbin/FsGuard"
GenerateKey: true
FilelistPaths: ["/usr/bin"]
modules:
- name: remove-prev-fsguard
type: shell
commands:
- rm -rf /FsGuard
- rm -f ./minisign.pub ./minisign.key
- chmod +x /usr/sbin/init
- name: cleanup2
type: shell
commands:
- rm -rf /tmp/*
- rm -rf /var/tmp/*
- rm -rf /sources