From 6ff50a46b16f222291ce01b6755b9f3c3e306d84 Mon Sep 17 00:00:00 2001 From: Michele Sciabarra Date: Wed, 15 May 2024 10:52:51 +0200 Subject: [PATCH] taskfile GITHUB_REGISTRY --- .env.dist | 1 + Taskfile.yml | 3 ++- runtime/python/v3.11ca/requirements.txt | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.env.dist b/.env.dist index f426902f..548c2c3f 100644 --- a/.env.dist +++ b/.env.dist @@ -1,2 +1,3 @@ GITHUB_USER=github: github user GITHUB_TOKEN=github: github token +GITHUB_REGISTRY=github: github registry diff --git a/Taskfile.yml b/Taskfile.yml index d4f31b6e..820f9862 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -81,7 +81,8 @@ tasks: dir: "runtime/{{.RT}}/{{.VER}}" cmds: - | - RUNTIME="{{.BASEIMG}}/runtime-{{.RT}}-{{.VER}}:{{.TAG}}" + BASEIMG=$(echo "$GITHUB_REGISTRY") + RUNTIME="$BASEIMG/runtime-{{.RT}}-{{.VER}}:{{.TAG}}" if test -n "{{.PUSH}}" then {{.DRY}} docker buildx build -t "$RUNTIME" --build-arg COMMON="{{.COMMON}}" --platform linux/amd64,linux/arm64 . --push else {{.DRY}} docker buildx build -t "$RUNTIME" --build-arg COMMON="{{.COMMON}}" . --load diff --git a/runtime/python/v3.11ca/requirements.txt b/runtime/python/v3.11ca/requirements.txt index a09a10b4..be2d92a3 100644 --- a/runtime/python/v3.11ca/requirements.txt +++ b/runtime/python/v3.11ca/requirements.txt @@ -27,4 +27,5 @@ azure-cosmos==4.5.1 tenacity==8.2.3 ollama==0.1.9 soccerdata==1.6.1 -ScraperFC==2.9.2 \ No newline at end of file +ScraperFC==2.9.2 +azure-search-documents==11.4.0