Skip to content

Merge pull request #75 from 6DDUU6/zz6 #14

Merge pull request #75 from 6DDUU6/zz6

Merge pull request #75 from 6DDUU6/zz6 #14

Workflow file for this run

name: Docker
on:
workflow_dispatch:
pull_request:
branches:
- main # default branch
paths:
- Genshin-Impact-Wish-Simulator/src/**/**
push:
branches:
- main # default branch
paths:
- Genshin-Impact-Wish-Simulator/src/**/**
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build & Push to DockerHub
uses: docker/build-push-action@v5.3.0
with:
context: .
push: true
tags: maizig/ysdm:latest
platforms: linux/amd64,linux/arm64
cache-from: type=registry,ref=maizig/ysdm:latest
cache-to: type=inline