Skip to content

chore: bump version to v1.2.0 #7

chore: bump version to v1.2.0

chore: bump version to v1.2.0 #7

Workflow file for this run

name: Docker CI
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
docker:
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
build-args: |
ENABLE_FULL_TEXT_SEARCH=true
ENABLE_MORPHOLOGY_ANALYSIS=true
ENABLE_CHINESE_CONVERSION=true
platforms: linux/amd64, linux/arm64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/silverdict:latest