Skip to content

Commit 630ad03

Browse files
Update ci.yml
1 parent 892f05c commit 630ad03

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,28 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18+
# 1. Checkout the repo
1819
- name: Checkout code
1920
uses: actions/checkout@v4
2021

21-
- name: Set up QEMU (for multi‑arch)
22+
# 2. Enable QEMU for cross‑platform
23+
- name: Set up QEMU
2224
uses: docker/setup-qemu-action@v2
2325

26+
# 3. Enable Buildx
2427
- name: Set up Docker Buildx
2528
uses: docker/setup-buildx-action@v3
2629

27-
- name: Log in to GitHub Container Registry
30+
# 4. Log in to GitHub Container Registry
31+
- name: Log in to GHCR
2832
uses: docker/login-action@v2
2933
with:
3034
registry: ghcr.io
3135
username: ${{ github.actor }}
3236
password: ${{ secrets.GITHUB_TOKEN }}
3337

34-
- name: Build and push multi-arch image
38+
# 5. Build & push multi‑arch image
39+
- name: Build and push Docker image
3540
uses: docker/build-push-action@v4
3641
with:
3742
context: .

0 commit comments

Comments
 (0)