refactor(upload): 抽离上传本地服务器方法到utils里,可被单独调用 (#472) #1184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Docker | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: docker:latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
cp .github/ci/.env.example .env | |
docker build -t hyperf . | |
- name: docker-compose | |
run: | | |
docker-compose up -d |