diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 8bb8cbb..7cb7f4e 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -127,11 +127,15 @@ jobs: id: pkg_version run: echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT + - name: Lowercase image name + id: image_name_step + run: echo "IMAGE_NAME_LOWER=$(echo ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_OUTPUT + - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v5 with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + images: ${{ steps.image_name_step.outputs.IMAGE_NAME_LOWER }} tags: | type=raw,value=latest type=semver,pattern={{version}},value=v${{ steps.pkg_version.outputs.VERSION }} diff --git a/package.json b/package.json index 26e2dff..65d023f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,15 @@ { "name": "hianime-api", - "version": "2.1.3", + "version": "2.0.0", "type": "module", + "repository": { + "type": "git", + "url": "git+https://github.com/ryanwtf7/hianime-api.git" + }, + "bugs": { + "url": "https://github.com/ryanwtf7/hianime-api/issues" + }, + "homepage": "https://github.com/ryanwtf7/hianime-api#readme", "scripts": { "dev": "bun run --hot index.ts", "start": "bun index.ts",