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:
15
15
runs-on : ubuntu-latest
16
16
17
17
steps :
18
+ # 1. Checkout the repo
18
19
- name : Checkout code
19
20
uses : actions/checkout@v4
20
21
21
- - name : Set up QEMU (for multi‑arch)
22
+ # 2. Enable QEMU for cross‑platform
23
+ - name : Set up QEMU
22
24
uses : docker/setup-qemu-action@v2
23
25
26
+ # 3. Enable Buildx
24
27
- name : Set up Docker Buildx
25
28
uses : docker/setup-buildx-action@v3
26
29
27
- - name : Log in to GitHub Container Registry
30
+ # 4. Log in to GitHub Container Registry
31
+ - name : Log in to GHCR
28
32
uses : docker/login-action@v2
29
33
with :
30
34
registry : ghcr.io
31
35
username : ${{ github.actor }}
32
36
password : ${{ secrets.GITHUB_TOKEN }}
33
37
34
- - name : Build and push multi-arch image
38
+ # 5. Build & push multi‑arch image
39
+ - name : Build and push Docker image
35
40
uses : docker/build-push-action@v4
36
41
with :
37
42
context : .
You can’t perform that action at this time.
0 commit comments