Refactor CI workflow steps for clarity and organization
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user