Skip to content

ci 👷 : update action #4

ci 👷 : update action

ci 👷 : update action #4

Workflow file for this run

name: image builder
on:
push:
branches:
- main
paths:
- ".github/workflows/builder.yml"
- "src/**"
- "Dockerfile"
- "package.json"
- "yarn.lock"
- ".gitignore"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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 Docker image
uses: docker/build-push-action@v5
with:
platforms: linux/arm64,linux/amd64
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/edge-tts-server:latest