vanilla-os-image/.github/workflows/vib-pr.yml
K.B.Dharun Krishna 262761f951
feat: add PR workflow, dependabot, misc
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-02 12:00:07 +05:30

27 lines
492 B
YAML

name: Vib PR
on:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: vanilla-os/vib-gh-action@v0.3.3-1
with:
recipe: 'recipe.yml'
plugins: 'Vanilla-OS/vib-fsguard:v1.2-1'
- name: Build the Docker image
run: docker image build -f Containerfile --tag testing .
- uses: actions/upload-artifact@v4
with:
name: Containerfile
path: Containerfile