CI: target the forge registry host (ggr.neiam.co), not docker.io

6fbf08e · gmorell · 2026-06-25 18:07

1 files +4 -4
Message
{commit_body(@commit)}

Files changed

modified .forgejo/workflows/build.yml
+4 −4
@@ -18,7 +18,7 @@ jobs:
18 18 # endpoint but login-action requires it to be non-empty.
19 19 - uses: docker/login-action@v3
20 20 with:
21 registry: ${{ vars.CI_REGISTRY }}
21 + registry: ggr.neiam.co
22 22 username: gitgud-actions
23 23 password: ${{ github.token }}
24 24
@@ -27,7 +27,7 @@ jobs:
27 27 with:
28 28 # Push to the job's OWN repo path (ggr.neiam.co/<owner>/<repo>);
29 29 # the per-job token only grants push there.
30 images: ${{ vars.CI_REGISTRY }}/${{ github.repository }}
30 + images: ggr.neiam.co/${{ github.repository }}
31 31 tags: |
32 32 type=sha,format=long
33 33 type=ref,event=branch
@@ -40,5 +40,5 @@ jobs:
40 40 push: true
41 41 tags: ${{ steps.meta.outputs.tags }}
42 42 labels: ${{ steps.meta.outputs.labels }}
43 cache-from: type=registry,ref=${{ vars.CI_REGISTRY }}/${{ github.repository }}:buildcache
44 cache-to: type=registry,ref=${{ vars.CI_REGISTRY }}/${{ github.repository }}:buildcache,mode=max
43 + cache-from: type=registry,ref=ggr.neiam.co/${{ github.repository }}:buildcache
44 + cache-to: type=registry,ref=ggr.neiam.co/${{ github.repository }}:buildcache,mode=max

Parents: cebfc36