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/gen_package_list.sh b/.github/gen_package_list.sh index 218fb94..8198d53 100755 --- a/.github/gen_package_list.sh +++ b/.github/gen_package_list.sh @@ -15,4 +15,4 @@ for line in $(dpkg -l --no-pager); do done packages="[${packages%,}]" -printf "\"packages\":%s\n" "$packages" \ No newline at end of file +printf "\"packages\":%s\n" "$packages" diff --git a/.github/workflows/differ.yml b/.github/workflows/differ.yml index 69b1fb2..3dbf4b2 100644 --- a/.github/workflows/differ.yml +++ b/.github/workflows/differ.yml @@ -27,4 +27,4 @@ jobs: -H 'Accept:application/json' \ -H "Authorization:Basic $(echo -n "${{ secrets.DIFFER_USER }}:${{ secrets.DIFFER_PSW }}" | base64)" \ -d "{\"digest\":\"${IMAGE_DIGEST}\",${PACKAGE_LIST}}" \ - ${{ vars.DIFFER_URL }}/images/pico/new \ No newline at end of file + ${{ vars.DIFFER_URL }}/images/pico/new diff --git a/.github/workflows/vib-build.yml b/.github/workflows/vib-build.yml index 0738b61..6d89e7d 100644 --- a/.github/workflows/vib-build.yml +++ b/.github/workflows/vib-build.yml @@ -42,7 +42,7 @@ jobs: docker login ghcr.io -u ${{ env.REGISTRY_USER }} -p ${{ env.REGISTRY_PASSWORD }} docker image push "ghcr.io/vanilla-os/pico:main" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: vanilla-pico-rootfs path: rootfs/vanilla-pico.tar.zst @@ -55,4 +55,4 @@ jobs: name: "Continuous Build" files: | rootfs/vanilla-pico.tar.gz - rootfs/SHA256SUMS \ No newline at end of file + rootfs/SHA256SUMS diff --git a/.github/workflows/vib-pr.yml b/.github/workflows/vib-pr.yml index 9549a16..15283a5 100644 --- a/.github/workflows/vib-pr.yml +++ b/.github/workflows/vib-pr.yml @@ -19,25 +19,20 @@ jobs: cd rootfs sudo sh build.sh cd .. - - - name: Vib - run: | - wget https://github.com/Vanilla-OS/Vib/releases/download/v0.3.1/vib - chmod +x vib - ./vib build recipe.yml - sed -i '/\/var\/tmp\/*/{d}' Containerfile - + + - uses: vanilla-os/vib-gh-action@v0.3.2-2 + - name: Build the Docker image run: podman image build -f Containerfile --tag vanillaos/pico:validation . - name: Upload vanilla-pico-rootfs - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vanilla-pico-rootfs path: rootfs/vanilla-pico.tar.zst - name: Upload Containerfile - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Containerfile path: Containerfile