Skip to content

Commit

Permalink
taskfile GITHUB_REGISTRY
Browse files Browse the repository at this point in the history
  • Loading branch information
msciabarra committed May 15, 2024
1 parent d6f0a51 commit 6ff50a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
GITHUB_USER=github: github user
GITHUB_TOKEN=github: github token
GITHUB_REGISTRY=github: github registry
3 changes: 2 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion runtime/python/v3.11ca/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
ScraperFC==2.9.2
azure-search-documents==11.4.0

0 comments on commit 6ff50a4

Please sign in to comment.