vrcauthproxy/.github/workflows/build.yml
2024-11-11 14:15:51 -05:00

31 lines
No EOL
817 B
YAML

name: Build Docker Image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
file: ./VRCAuthProxy/Dockerfile
platforms: linux/amd64
tags: ghcr.io/pridevrcommunity/VRCAuthProxy:latest
cache-from: type=gha
cache-to: type=gha,mode=max