Fix build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-12 17:39:09 +02:00
parent 7411bfccbd
commit 2187e70a6a
2 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -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