Fix CI: use owner-scoped registry path for crane copy
Gitea OCI registry expects host/owner/package:tag format, not host/owner/repo/package:tag. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Vendored
+1
-1
@@ -130,7 +130,7 @@ jobs:
|
|||||||
APP_VER=$(grep '^appVersion:' fleetdm-stack/Chart.yaml | awk '{print $2}' | tr -d '"')
|
APP_VER=$(grep '^appVersion:' fleetdm-stack/Chart.yaml | awk '{print $2}' | tr -d '"')
|
||||||
CHART_TAG="${{ steps.version.outputs.new_tag }}"
|
CHART_TAG="${{ steps.version.outputs.new_tag }}"
|
||||||
SRC="docker.io/fleetdm/fleet:v${APP_VER}"
|
SRC="docker.io/fleetdm/fleet:v${APP_VER}"
|
||||||
DST="git.produktor.io/${{ gitea.repository }}/fleet"
|
DST="git.produktor.io/${{ gitea.repository_owner }}/fleet"
|
||||||
|
|
||||||
crane auth login git.produktor.io -u "${{ gitea.actor }}" -p "${{ gitea.token }}"
|
crane auth login git.produktor.io -u "${{ gitea.actor }}" -p "${{ gitea.token }}"
|
||||||
crane copy "${SRC}" "${DST}:${APP_VER}"
|
crane copy "${SRC}" "${DST}:${APP_VER}"
|
||||||
|
|||||||
Reference in New Issue
Block a user