Skip to content

fix: align hf chinese font strategy #15

fix: align hf chinese font strategy

fix: align hf chinese font strategy #15

name: Publish Docker Image
on:
push:
branches:
- main
workflow_dispatch:
env:
IMAGE_NAME: wingflow/manimcat
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: 'true'
jobs:
docker:
if: github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, 'docker')
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.12.0
- name: Log in to Docker Hub
uses: docker/login-action@v3.4.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5.10.0
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest
type=sha,format=short
- name: Build and push Docker image
uses: docker/build-push-action@v6.18.0
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}