chore: bump Vib action to v0.6.2 #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Vib Build | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
env: | |
REGISTRY_USER: ${{ github.actor }} | |
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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" |