jlelse’s Blog

Thoughts, stories and ideas

Tags: Drone CI


Building Docker images in Drone CI using Docker-in-Docker

Published on in 👨‍💻 Dev

This evening I tried to improve the build process of GoBlog. GoBlog gets built using Drone CI and Docker. The problem was that two image variants are to be built, one based on the other, and the whole thing always took quite a long time.

View

How my blogroll gets generated (now completely automatic!)

Published on in 👨‍💻 Dev
Updated on

Yesterday I teased a new post about how I automated my blogroll generation by writing a Go script and using the Miniflux API. Here it is.

View

Cache Hugo modules in Drone CI

Published on in 👨‍💻 Dev

Today I modified my theme to use Twemoji for emojis. To add the SVG files to the theme, I used a Hugo module mount in the config of my theme:

View

Updated Hugo build workflow

Published on in 💬 Micro

After getting inspired by Kevin C. Coram, the blog is now generated by Hugo on a private Drone CI instance. Using a custom Docker image with Hugo, the site gets generated and the output is then uploaded to the server using rsync. Because this approach is much cleaner than my previous one, I could now also setup things like a preview page and I can update Hugo versions for my sites independently.

View

Jan-Lukas Else