Skip to content

fix: 修复docker、文档错误 #6

fix: 修复docker、文档错误

fix: 修复docker、文档错误 #6

Workflow file for this run

name: Docker Image CI/CD
on:
push:
branches: [ main ]
jobs:
# 构建并上传 Docker镜像
build:
runs-on: ubuntu-latest # 依赖的环境
steps:
- uses: actions/checkout@v2
- name: Build Image
run: |
docker build --platform linux/amd64 -t lumaapi/luma-api .
- name: Login to Registry
run: docker login --username=${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_PASSWORD }}
- name: Push Image
run: |
docker push lumaapi/luma-api