Commit 932a7356 by mingyuan

suport squash build

parent 28c9945a
...@@ -21,7 +21,7 @@ jobs: ...@@ -21,7 +21,7 @@ jobs:
submodules: true submodules: true
- name: Docker build - name: Docker build
run: | run: |
docker build -t ${{ secrets.DOCKER_URL }}/$GITHUB_REPOSITORY/engine:latest . docker build --squash -t ${{ secrets.DOCKER_URL }}/$GITHUB_REPOSITORY/engine:latest .
- name: Docker push latest - name: Docker push latest
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/main' }}
run: | run: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment