diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index cdfd1b81..77204ff9 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -33,7 +33,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: ./docker/build-container.sh ${{ matrix.platform }} true - # note make sure mostlygeek/llama-swap has admin rights to the llama-swap package + # note make sure napmany/llmsnap has admin rights to the llmsnap package # see: https://github.com/actions/delete-package-versions/issues/74 delete-untagged-containers: needs: build-and-push @@ -41,6 +41,6 @@ jobs: steps: - uses: actions/delete-package-versions@v5 with: - package-name: 'llama-swap' + package-name: 'llmsnap' package-type: 'container' delete-only-untagged-versions: 'true' diff --git a/docker/build-container.sh b/docker/build-container.sh index b4f6cbae..38e99360 100755 --- a/docker/build-container.sh +++ b/docker/build-container.sh @@ -20,9 +20,9 @@ if [[ -z "$GITHUB_TOKEN" ]]; then exit 1 fi -# the most recent llama-swap tag +# the most recent llmsnap tag # have to strip out the 'v' due to .tar.gz file naming -LS_VER=$(curl -s https://api.github.com/repos/mostlygeek/llama-swap/releases/latest | jq -r .tag_name | sed 's/v//') +LS_VER=$(curl -s https://api.github.com/repos/napmany/llmsnap/releases/latest | jq -r .tag_name | sed 's/v//') if [ "$ARCH" == "cpu" ]; then # cpu only containers just use the server tag @@ -45,8 +45,8 @@ if [[ -z "$LCPP_TAG" ]]; then exit 1 fi -CONTAINER_TAG="ghcr.io/mostlygeek/llama-swap:v${LS_VER}-${ARCH}-${LCPP_TAG}" -CONTAINER_LATEST="ghcr.io/mostlygeek/llama-swap:${ARCH}" +CONTAINER_TAG="ghcr.io/napmany/llmsnap:v${LS_VER}-${ARCH}-${LCPP_TAG}" +CONTAINER_LATEST="ghcr.io/napmany/llmsnap:${ARCH}" echo "Building ${CONTAINER_TAG} $LS_VER" docker build -f llama-swap.Containerfile --build-arg BASE_TAG=${BASE_TAG} --build-arg LS_VER=${LS_VER} -t ${CONTAINER_TAG} -t ${CONTAINER_LATEST} . if [ "$PUSH_IMAGES" == "true" ]; then