Skip to content

Yuzu Docker Image CI #3

Yuzu Docker Image CI

Yuzu Docker Image CI #3

Workflow file for this run

name: 'Yuzu Docker Image CI'
on:
workflow_dispatch:
inputs: {}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
image: ["linux-fresh"]
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 == 'snoandpetals/build-env-yuzu')
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 == 'snoandpetals/build-env-yuzu') }}
context: ${{ matrix.image }}
tags: snoandpetals/build-env-yuzu:${{ matrix.image }}