From 99158be0baba90d9beff0e311e947d0f03fb1876 Mon Sep 17 00:00:00 2001 From: Will Murphy Date: Thu, 2 Apr 2026 16:50:43 -0400 Subject: [PATCH] chore: move test fixtures to oss-cache repo (#4733) * chore: move test fixtures to oss-cache repo Signed-off-by: Will Murphy * pr feedback: sort vars in taskfile Co-authored-by: Alex Goodman Signed-off-by: Will Murphy --------- Signed-off-by: Will Murphy Co-authored-by: Alex Goodman --- Taskfile.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Taskfile.yaml b/Taskfile.yaml index f06270d58..e16b59054 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -10,7 +10,8 @@ vars: # v1: when fixtures were located at test-fixtures dirs # v2: migration to testdata dirs - CACHE_IMAGE: ghcr.io/{{ .OWNER }}/{{ .PROJECT }}/test-fixture-cache:v2 + CACHE_REPO: oss-cache + CACHE_IMAGE: ghcr.io/{{ .OWNER }}/{{ .CACHE_REPO }}/syft-test-fixture-cache:v2 # static file dirs TOOL_DIR: .tool @@ -424,7 +425,7 @@ tasks: done oras_command+=" {{ .CACHE_PATHS_FILE }}" - oras_command+=" --annotation org.opencontainers.image.source=https://github.com/{{ .OWNER }}/{{ .PROJECT }}" + oras_command+=" --annotation org.opencontainers.image.source=https://github.com/{{ .OWNER }}/{{ .CACHE_REPO }}" oras_command+=" --annotation fingerprint=$(cat {{ .CACHE_PATHS_FILE }} | {{ .YQ }} -r '.digest')" echo "Executing: $oras_command"