Skip to content

Commit

Permalink
feat: port to vib-action, add dependabot config
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin authored Jan 4, 2024
2 parents 9469c36 + 26d803e commit 54c4309
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
7 changes: 2 additions & 5 deletions .github/workflows/vib-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Vib
run: |
wget https://github.com/Vanilla-OS/Vib/releases/download/v0.3.1/vib
chmod +x vib
./vib build recipe.yml
- uses: vanilla-os/[email protected]

- name: Build the Docker image
run: docker image build -f Containerfile --tag ghcr.io/vanilla-os/waydroid:main .

# Push the image to GHCR (Image Registry)
- name: Push To GHCR
if: github.repository == 'vanilla-os/waydroid-image'
run: |
docker login ghcr.io -u ${{ env.REGISTRY_USER }} -p ${{ env.REGISTRY_PASSWORD }}
docker image push "ghcr.io/vanilla-os/waydroid:main"
8 changes: 2 additions & 6 deletions .github/workflows/vib-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Vib
run: |
wget https://github.com/Vanilla-OS/Vib/releases/download/v0.3.1/vib
chmod +x vib
./vib build recipe.yml
- uses: vanilla-os/[email protected]

- name: Build the Docker image
run: docker image build -f Containerfile --tag vanillaos/waydroid .

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Containerfile
path: Containerfile
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ installation.
### Requirements

- [Vib](https://github.com/Vanilla-OS/Vib)
- Podman or Docker
- Podman or Docker

## Build the image

Expand All @@ -25,7 +25,7 @@ podman image build -t vanillaos/waydroid .

### Requirements

- Podman or Docker
- Podman or Docker
- [Distrobox](https://github.com/89luca89/distrobox) (suggested) [1](#note1)
- [binder_linux](https://github.com/choff/anbox-modules) installed on host

Expand Down

0 comments on commit 54c4309

Please sign in to comment.