Refactor CI workflow steps for clarity and organization

This commit is contained in:
2025-10-02 15:08:42 +08:00
parent a9e4e05fda
commit 669fa2626e

View File

@@ -33,23 +33,19 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
# Step 2: Set up Docker Buildx (for advanced Docker builds)
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# Step 3: Make CI script executable
# Step 2: Make CI script executable
- name: Make CI script executable
run: chmod +x script/ci.sh
# Step 4: Build Docker image
# Step 3: Build Docker image
- name: Build Docker image
run: ./script/ci.sh build
# Step 5: Push Docker image to registry
# Step 4: Push Docker image to registry
- name: Push Docker image
run: ./script/ci.sh push
# Step 6: Output summary
# Step 5: Output summary
- name: Summary
run: |
echo "### :rocket: Build Complete!" >> $GITHUB_STEP_SUMMARY