This commit is contained in:
@@ -54,6 +54,8 @@ steps:
|
|||||||
repo: blog
|
repo: blog
|
||||||
tags:
|
tags:
|
||||||
- ${DRONE_COMMIT_SHA}
|
- ${DRONE_COMMIT_SHA}
|
||||||
|
environment:
|
||||||
|
container: docker
|
||||||
|
|
||||||
- name: preview:image
|
- name: preview:image
|
||||||
image: registry.hkoerber.de/drone-kaniko:latest
|
image: registry.hkoerber.de/drone-kaniko:latest
|
||||||
@@ -66,6 +68,8 @@ steps:
|
|||||||
repo: blog
|
repo: blog
|
||||||
tags:
|
tags:
|
||||||
- ${DRONE_COMMIT_SHA}-preview
|
- ${DRONE_COMMIT_SHA}-preview
|
||||||
|
environment:
|
||||||
|
container: docker
|
||||||
|
|
||||||
- name: production:update k8s
|
- name: production:update k8s
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -10,7 +10,7 @@ build-production:
|
|||||||
--net host \
|
--net host \
|
||||||
-v $(PWD):/workdir \
|
-v $(PWD):/workdir \
|
||||||
-w /workdir \
|
-w /workdir \
|
||||||
registry.hkoerber.de/hugo:f216de6b127620641bcaf1d28fe16bf1ea2db884 \
|
registry.hkoerber.de/hugo:latest \
|
||||||
/app/bin/hugo \
|
/app/bin/hugo \
|
||||||
--baseURL=https://hkoerber.de/ \
|
--baseURL=https://hkoerber.de/ \
|
||||||
--cleanDestinationDir \
|
--cleanDestinationDir \
|
||||||
@@ -44,7 +44,7 @@ preview:
|
|||||||
--net host \
|
--net host \
|
||||||
-v $(PWD):/workdir \
|
-v $(PWD):/workdir \
|
||||||
-w /workdir \
|
-w /workdir \
|
||||||
registry.hkoerber.de/hugo:f000054616d7789202b06872a6535bcb9fd500c9 \
|
registry.hkoerber.de/hugo:latest \
|
||||||
hugo serve \
|
hugo serve \
|
||||||
--watch \
|
--watch \
|
||||||
--buildDrafts
|
--buildDrafts
|
||||||
|
|||||||
Reference in New Issue
Block a user