Compare commits
2 Commits
696fe48d53
...
42fc2d9fac
Author | SHA1 | Date | |
---|---|---|---|
42fc2d9fac | |||
d5aac3e833 |
11
.drone.yml
11
.drone.yml
@ -12,9 +12,9 @@ steps:
|
|||||||
from_secret: ivan-docker-username
|
from_secret: ivan-docker-username
|
||||||
password:
|
password:
|
||||||
from_secret: ivan-docker-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:
|
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
|
dockerfile: Dockerfile
|
||||||
build_args:
|
build_args:
|
||||||
- BUILDKIT_INLINE_CACHE=1
|
- BUILDKIT_INLINE_CACHE=1
|
||||||
@ -23,6 +23,7 @@ steps:
|
|||||||
- '${DRONE_COMMIT_SHA:0:8}-amd64'
|
- '${DRONE_COMMIT_SHA:0:8}-amd64'
|
||||||
- '${DRONE_BRANCH}${DRONE_TAG}-amd64'
|
- '${DRONE_BRANCH}${DRONE_TAG}-amd64'
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: linux-amd64
|
name: linux-amd64
|
||||||
@ -39,17 +40,18 @@ steps:
|
|||||||
from_secret: ivan-docker-username
|
from_secret: ivan-docker-username
|
||||||
password:
|
password:
|
||||||
from_secret: ivan-docker-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
|
dockerfile: Dockerfile
|
||||||
target: release
|
target: release
|
||||||
cache_from:
|
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:
|
tags:
|
||||||
- '${DRONE_COMMIT_SHA:0:8}'
|
- '${DRONE_COMMIT_SHA:0:8}'
|
||||||
- '${DRONE_BRANCH}${DRONE_TAG}'
|
- '${DRONE_BRANCH}${DRONE_TAG}'
|
||||||
- name: notify
|
- name: notify
|
||||||
image: appleboy/drone-telegram
|
image: appleboy/drone-telegram
|
||||||
failure: ignore
|
failure: ignore
|
||||||
|
detach: true
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
@ -116,6 +118,7 @@ steps:
|
|||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
failure: ignore
|
failure: ignore
|
||||||
|
detach: true
|
||||||
environment:
|
environment:
|
||||||
PLUGIN_TOKEN:
|
PLUGIN_TOKEN:
|
||||||
from_secret: drone-telegram-bot-token
|
from_secret: drone-telegram-bot-token
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
FROM node:16-alpine as base
|
FROM node:16-alpine as base
|
||||||
|
RUN apk add --no-cache libc6-compat
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package-lock.json package.json ./
|
COPY package-lock.json package.json ./
|
||||||
RUN npm ci --no-audit
|
RUN npm ci --no-audit
|
||||||
|
@ -1,13 +1,8 @@
|
|||||||

|

|
||||||
|
|
||||||
# Tailwind Nextjs Starter Blog
|
# Ivan Li's Blog
|
||||||
|
|
||||||
[](https://GitHub.com/timlrx/tailwind-nextjs-starter-blog/stargazers/)
|
[](https://ci.ivanli.cc/Ivan/tailwind-nextjs-blog)
|
||||||
[](https://GitHub.com/timlrx/tailwind-nextjs-starter-blog/network/)
|
|
||||||
[](https://twitter.com/timlrxx)
|
|
||||||
[](https://github.com/sponsors/timlrx)
|
|
||||||
|
|
||||||
[](https://vercel.com/new/git/external?repository-url=https://github.com/timlrx/tailwind-nextjs-starter-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.
|
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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user