1
1

docker-image.yml 342 B

1234567891011121314151617181920
  1. name: Docker Image CI
  2. # commit push 后 自动编译打包 关闭
  3. on:
  4. # push:
  5. # branches: [ main ]
  6. # pull_request:
  7. # branches: [ main ]
  8. jobs:
  9. build:
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/checkout@v2
  13. - name: Build the Docker image
  14. run: docker build . --file Dockerfile --tag hongwenjun/nginx-php