diff --git a/.drone.yml b/.drone.yml index c1150e0..a092b44 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,9 +12,9 @@ steps: from_secret: ivan-docker-username password: from_secret: ivan-docker-password - repo: docker-registry.ivanli.cc/ivan/gatsby-blog + repo: docker-registry.ivanli.cc/ivan/tailwind-nextjs-blog cache_from: - - docker-registry.ivanli.cc/ivan/gatsby-blog:${DRONE_BRANCH}${DRONE_TAG}-amd64 + - docker-registry.ivanli.cc/ivan/tailwind-nextjs-blog:${DRONE_BRANCH}${DRONE_TAG}-amd64 dockerfile: Dockerfile build_args: - BUILDKIT_INLINE_CACHE=1 @@ -39,17 +39,18 @@ steps: from_secret: ivan-docker-username password: from_secret: ivan-docker-password - repo: docker-registry.ivanli.cc/ivan/gatsby-blog + repo: docker-registry.ivanli.cc/ivan/tailwind-nextjs-blog dockerfile: Dockerfile target: release cache_from: - - docker-registry.ivanli.cc/ivan/gatsby-blog:${DRONE_COMMIT_SHA:0:8}-amd64 + - docker-registry.ivanli.cc/ivan/tailwind-nextjs-blog:${DRONE_COMMIT_SHA:0:8}-amd64 tags: - '${DRONE_COMMIT_SHA:0:8}' - '${DRONE_BRANCH}${DRONE_TAG}' - name: notify image: appleboy/drone-telegram failure: ignore + detach: true when: status: - success @@ -116,6 +117,7 @@ steps: - success - failure failure: ignore + detach: true environment: PLUGIN_TOKEN: from_secret: drone-telegram-bot-token diff --git a/Dockerfile b/Dockerfile index 1ab5abd..5068d16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM node:16-alpine as base +RUN apk add --no-cache libc6-compat WORKDIR /app COPY package-lock.json package.json ./ RUN npm ci --no-audit diff --git a/README.md b/README.md index 790c39b..c4e4f66 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,8 @@ ![tailwind-nextjs-banner](/public/static/images/twitter-card.png) -# Tailwind Nextjs Starter Blog +# Ivan Li's Blog -[![GitHub Repo stars](https://img.shields.io/github/stars/timlrx/tailwind-nextjs-starter-blog?style=social)](https://GitHub.com/timlrx/tailwind-nextjs-starter-blog/stargazers/) -[![GitHub forks](https://img.shields.io/github/forks/timlrx/tailwind-nextjs-starter-blog?style=social)](https://GitHub.com/timlrx/tailwind-nextjs-starter-blog/network/) -[![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Ftwitter.com%2Ftimlrxx)](https://twitter.com/timlrxx) -[![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&link=https://github.com/sponsors/timlrx)](https://github.com/sponsors/timlrx) - -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/timlrx/tailwind-nextjs-starter-blog) +[![Build Status](https://ci.ivanli.cc/api/badges/Ivan/tailwind-nextjs-blog/status.svg)](https://ci.ivanli.cc/Ivan/tailwind-nextjs-blog) This is a [Next.js](https://nextjs.org/), [Tailwind CSS](https://tailwindcss.com/) blogging starter template. Probably the most feature-rich Next.js markdown blogging template out there. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.