1
0
Fork 0
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.
citra-multiplayer-dedicated/.github/workflows/ci.yml

39 lines
1.1 KiB
YAML
Raw Normal View History

name: 'Citra Rooms Docker Image CI'
on:
push:
branches: [ "*" ]
tags: [ "*" ]
pull_request:
branches: [ master ]
2021-12-04 08:34:36 +00:00
workflow_dispatch:
2021-12-27 01:10:00 +00:00
inputs: {}
2021-12-04 08:34:36 +00:00
schedule:
- cron: '0 7 * * 0'
jobs:
build:
runs-on: ubuntu-latest
2021-12-27 01:10:00 +00:00
strategy:
fail-fast: false
matrix:
arch: [amd64, arm64]
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
if: (github.ref == 'refs/heads/master') && (github.repository == 'citra-emu/citra-multiplayer-dedicated')
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Image
uses: docker/build-push-action@v2
with:
2021-12-27 01:10:00 +00:00
platforms: linux/${{ matrix.arch }}
push: ${{ (github.ref == 'refs/heads/master') && (github.repository == 'citra-emu/citra-multiplayer-dedicated') }}
tags: citraemu/citra-multiplayer-dedicated:latest