This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2022-09-13 00:53:49 +00:00
|
|
|
name: 'Yuzu Rooms Docker Image CI'
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "*" ]
|
|
|
|
tags: [ "*" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs: {}
|
|
|
|
schedule:
|
|
|
|
- cron: '0 7 * * 0'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-11-20 10:52:30 +00:00
|
|
|
- uses: actions/checkout@v3
|
2022-09-13 00:53:49 +00:00
|
|
|
- name: Set up QEMU
|
2022-11-20 10:52:30 +00:00
|
|
|
uses: docker/setup-qemu-action@v2
|
2022-09-13 00:53:49 +00:00
|
|
|
- name: Set up Docker BuildX
|
2022-11-20 10:52:30 +00:00
|
|
|
uses: docker/setup-buildx-action@v2
|
2022-09-13 00:53:49 +00:00
|
|
|
- name: Login to DockerHub
|
2022-11-20 10:52:30 +00:00
|
|
|
uses: docker/login-action@v2
|
2022-09-13 00:53:49 +00:00
|
|
|
if: (github.ref == 'refs/heads/master') && (github.repository == 'yuzu-emu/yuzu-multiplayer-dedicated')
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
- name: Build Image
|
2022-11-20 10:52:30 +00:00
|
|
|
uses: docker/build-push-action@v3
|
2022-09-13 00:53:49 +00:00
|
|
|
with:
|
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
push: ${{ (github.ref == 'refs/heads/master') && (github.repository == 'yuzu-emu/yuzu-multiplayer-dedicated') }}
|
|
|
|
tags: yuzuemu/yuzu-multiplayer-dedicated:latest
|