From 262761f951520242f22430d4ef52ee5125f81020 Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Fri, 2 Feb 2024 12:00:07 +0530 Subject: [PATCH] feat: add PR workflow, dependabot, misc Signed-off-by: K.B.Dharun Krishna --- .gitattributes | 2 ++ .github/dependabot.yml | 6 ++++++ .github/workflows/vib-pr.yml | 27 +++++++++++++++++++++++++++ LICENSE => LICENSE.txt | 0 README.md | 3 +++ 5 files changed, 38 insertions(+) create mode 100644 .gitattributes create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/vib-pr.yml rename LICENSE => LICENSE.txt (100%) create mode 100644 README.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..069ded3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Ref: https://git-scm.com/docs/gitattributes +* text=auto eol=lf diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8ac6b8c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" diff --git a/.github/workflows/vib-pr.yml b/.github/workflows/vib-pr.yml new file mode 100644 index 0000000..28ac70c --- /dev/null +++ b/.github/workflows/vib-pr.yml @@ -0,0 +1,27 @@ +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 diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..dacbed3 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Custom Vib Image + +This template repository is a starting point for creating custom Vib images.