Skip to content

chore(repo): 整理 ignore 规则并移除过时归档文件 #8

chore(repo): 整理 ignore 规则并移除过时归档文件

chore(repo): 整理 ignore 规则并移除过时归档文件 #8

Workflow file for this run

name: Build & Push Docker
on:
push:
branches: [master]
paths:
- 'backend/**'
- 'my-app/**'
- 'Dockerfile'
- 'docker-compose.yml'
workflow_dispatch:
jobs:
build-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/econai-agent-platform:latest
cache-from: type=gha
cache-to: type=gha,mode=max