File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff 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 : .
You can’t perform that action at this time.
0 commit comments