fix(demo): tag image as owner/repo for auto package link
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:
aayalew
2026-07-10 18:15:28 +03:00
parent bcf3ad2bf6
commit 49da62c8e2
+2 -2
View File
@@ -7,7 +7,6 @@ on:
env: env:
# Hostname only (no scheme) — Gitea container registry on this demo stack. # Hostname only (no scheme) — Gitea container registry on this demo stack.
REGISTRY: gitea-dev.alertaware.com REGISTRY: gitea-dev.alertaware.com
IMAGE: demo
# act_runner DinD listens on the job host network (see runner config.yaml). # act_runner DinD listens on the job host network (see runner config.yaml).
DOCKER_HOST: tcp://127.0.0.1:2375 DOCKER_HOST: tcp://127.0.0.1:2375
@@ -31,9 +30,10 @@ jobs:
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }} password: ${{ secrets.REGISTRY_TOKEN }}
# Tag as owner/repo so Gitea auto-links the package to this repository.
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: . context: .
push: true push: true
tags: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE }}:${{ steps.meta.outputs.tag }} tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{ steps.meta.outputs.tag }}