Skip to content

Commit

Permalink
fix: add auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaansehgal99 committed Oct 6, 2023
1 parent 2ad7e67 commit 6273298
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/preset-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ jobs:
--build-arg EXTERNAL_PORT=${{ secrets.AZURE_WEB_SERVER_EXTERNAL_PORT }} \
--build-arg LLAMA_VERSION=llama-2-7b \
--build-arg SRC_DIR=pkg/presets/llama-2 \
--build-arg AUTH_TOKEN_ENV_VAR=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
--build-arg WEB_SERVER_AUTH_TOKEN=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
-t aimodelsregistry.azurecr.io/llama-2-7b:${{ needs.setup.outputs.image_tag }} \
-r aimodelsregistry \
-f docker/presets/llama-2/Dockerfile \
Expand Down Expand Up @@ -306,7 +306,7 @@ jobs:
--build-arg EXTERNAL_PORT=${{ secrets.AZURE_WEB_SERVER_EXTERNAL_PORT }} \
--build-arg LLAMA_VERSION=llama-2-13b \
--build-arg SRC_DIR=pkg/presets/llama-2 \
--build-arg AUTH_TOKEN_ENV_VAR=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
--build-arg WEB_SERVER_AUTH_TOKEN=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
-t aimodelsregistry.azurecr.io/llama-2-13b:${{ needs.setup.outputs.image_tag }} \
-r aimodelsregistry \
-f docker/presets/llama-2/Dockerfile \
Expand Down Expand Up @@ -344,7 +344,7 @@ jobs:
--build-arg EXTERNAL_PORT=${{ secrets.AZURE_WEB_SERVER_EXTERNAL_PORT }} \
--build-arg LLAMA_VERSION=llama-2-70b \
--build-arg SRC_DIR=pkg/presets/llama-2 \
--build-arg AUTH_TOKEN_ENV_VAR=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
--build-arg WEB_SERVER_AUTH_TOKEN=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
-t aimodelsregistry.azurecr.io/llama-2-70b:${{ needs.setup.outputs.image_tag }} \
-r aimodelsregistry \
-f docker/presets/llama-2/Dockerfile \
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
--build-arg EXTERNAL_PORT=${{ secrets.AZURE_WEB_SERVER_EXTERNAL_PORT }} \
--build-arg LLAMA_VERSION=llama-2-7b-chat \
--build-arg SRC_DIR=pkg/presets/llama-2-chat \
--build-arg AUTH_TOKEN_ENV_VAR=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
--build-arg WEB_SERVER_AUTH_TOKEN=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
-t aimodelsregistry.azurecr.io/llama-2-7b-chat:${{ needs.setup.outputs.image_tag }} \
-r aimodelsregistry \
-f docker/presets/llama-2/Dockerfile \
Expand Down Expand Up @@ -420,7 +420,7 @@ jobs:
--build-arg EXTERNAL_PORT=${{ secrets.AZURE_WEB_SERVER_EXTERNAL_PORT }} \
--build-arg LLAMA_VERSION=llama-2-13b-chat \
--build-arg SRC_DIR=pkg/presets/llama-2-chat \
--build-arg AUTH_TOKEN_ENV_VAR=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
--build-arg WEB_SERVER_AUTH_TOKEN=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
-t aimodelsregistry.azurecr.io/llama-2-13b-chat:${{ needs.setup.outputs.image_tag }} \
-r aimodelsregistry \
-f docker/presets/llama-2/Dockerfile \
Expand Down Expand Up @@ -458,7 +458,7 @@ jobs:
--build-arg EXTERNAL_PORT=${{ secrets.AZURE_WEB_SERVER_EXTERNAL_PORT }} \
--build-arg LLAMA_VERSION=llama-2-70b-chat \
--build-arg SRC_DIR=pkg/presets/llama-2-chat \
--build-arg AUTH_TOKEN_ENV_VAR=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
--build-arg WEB_SERVER_AUTH_TOKEN=${{ secrets.WEB_SERVER_AUTH_TOKEN }} \
-t aimodelsregistry.azurecr.io/llama-2-70b-chat:${{ needs.setup.outputs.image_tag }} \
-r aimodelsregistry \
-f docker/presets/llama-2/Dockerfile \
Expand Down

0 comments on commit 6273298

Please sign in to comment.