mirror of
https://git.suyu.dev/suyu/build-environments.git
synced 2026-01-08 15:38:28 +01:00
test123
This commit is contained in:
parent
4eae6a7678
commit
07e781c2ca
2 changed files with 36 additions and 0 deletions
34
.github-archive/workflows/ci.yml
Normal file
34
.github-archive/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
name: 'Yuzu Docker Image CI'
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs: {}
|
||||
schedule:
|
||||
- cron: '0 7 * * 0'
|
||||
push:
|
||||
branches: ["master"]
|
||||
pull_request:
|
||||
branches: ["master"]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
image: ["linux-clang-format", "linux-fresh", "linux-mingw", "linux-transifex"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker/setup-buildx-action@v1
|
||||
name: Setup Docker BuildX system
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
if: (github.ref == 'refs/heads/master') && (github.repository == 'yuzu-emu/build-environments')
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v2
|
||||
name: Build image
|
||||
with:
|
||||
push: ${{ (github.ref == 'refs/heads/master') && (github.repository == 'yuzu-emu/build-environments') }}
|
||||
context: ${{ matrix.image }}
|
||||
tags: yuzuemu/build-environments:${{ matrix.image }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue