fix(demo): tag image as owner/repo for auto package link
build-and-push / docker (push) Successful in 16s
build-and-push / docker (push) Successful in 16s
Gitea only auto-links packages when the image name matches the repo. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,7 +7,6 @@ on:
|
||||
env:
|
||||
# Hostname only (no scheme) — Gitea container registry on this demo stack.
|
||||
REGISTRY: gitea-dev.alertaware.com
|
||||
IMAGE: demo
|
||||
# act_runner DinD listens on the job host network (see runner config.yaml).
|
||||
DOCKER_HOST: tcp://127.0.0.1:2375
|
||||
|
||||
@@ -31,9 +30,10 @@ jobs:
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
|
||||
# Tag as owner/repo so Gitea auto-links the package to this repository.
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE }}:${{ steps.meta.outputs.tag }}
|
||||
tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{ steps.meta.outputs.tag }}
|
||||
|
||||
Reference in New Issue
Block a user