Skip to content

Commit

Permalink
Merge PR 197
Browse files Browse the repository at this point in the history
Merge pull request to upgrade hugo version
  • Loading branch information
floryn90 authored Dec 30, 2024
2 parents a7c19e6 + d2deab9 commit 27b19db
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 18 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ These images sets `bind` when started as server, otherwise no magic.

Default minimal image based upon [Busybox](https://hub.docker.com/r/_/busybox/):
* Aliases: `latest`, `busybox`, `busybox-ci`, `ci`, `busybox-onbuild`, `onbuild`
* Hugo 0.140.1: `0.140.1-busybox`, `0.140.1`, `0.140.1-busybox-ci`, `0.140.1-ci`, `0.140.1-busybox-onbuild`, `0.140.1-onbuild`
* Hugo 0.140.2: `0.140.2-busybox`, `0.140.2`, `0.140.2-busybox-ci`, `0.140.2-ci`, `0.140.2-busybox-onbuild`, `0.140.2-onbuild`

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/):
* Aliases: `alpine`, `alpine-ci`, `alpine-onbuild`, `ext-alpine`, `ext-alpine-ci`, `ext-alpine-onbuild`
* Hugo 0.140.1: `0.140.1-alpine`, `0.140.1-alpine-ci`, `0.140.1-alpine-onbuild`, `0.140.1-ext-alpine`, `0.140.1-ext-alpine-ci`, `0.140.1-ext-alpine-onbuild`
* Hugo 0.140.2: `0.140.2-alpine`, `0.140.2-alpine-ci`, `0.140.2-alpine-onbuild`, `0.140.2-ext-alpine`, `0.140.2-ext-alpine-ci`, `0.140.2-ext-alpine-onbuild`

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Asciidoctor](http://asciidoctor.org/) installed:
* Aliases: `asciidoctor`, `asciidoctor-ci`, `asciidoctor-onbuild`, `ext-asciidoctor`, `ext-asciidoctor-ci`, `ext-asciidoctor-onbuild`
* Hugo 0.140.1: `0.140.1-asciidoctor`, `0.140.1-asciidoctor-onbuild`, `0.140.1-asciidoctor-ci`, `0.140.1-ext-asciidoctor`, `0.140.1-ext-asciidoctor-ci`, `0.140.1-ext-asciidoctor-onbuild`
* Hugo 0.140.2: `0.140.2-asciidoctor`, `0.140.2-asciidoctor-onbuild`, `0.140.2-asciidoctor-ci`, `0.140.2-ext-asciidoctor`, `0.140.2-ext-asciidoctor-ci`, `0.140.2-ext-asciidoctor-onbuild`

Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/) with [Pandoc](https://pandoc.org/) installed:
* Aliases: `pandoc`, `pandoc-ci`, `pandoc-onbuild`, `ext-pandoc`, `ext-pandoc-ci`, `ext-pandoc-onbuild`
* Hugo 0.140.1: `0.140.1-pandoc`, `0.140.1-pandoc-ci`, `0.140.1-pandoc-onbuild`, `0.140.1-ext-pandoc`, `0.140.1-ext-pandoc-ci`, `0.140.1-ext-pandoc-onbuild`
* Hugo 0.140.2: `0.140.2-pandoc`, `0.140.2-pandoc-ci`, `0.140.2-pandoc-onbuild`, `0.140.2-ext-pandoc`, `0.140.2-ext-pandoc-ci`, `0.140.2-ext-pandoc-onbuild`

Image based upon [Debian](https://hub.docker.com/r/_/debian/):
* Aliases: `debian`, `debian-ci`, `debian-onbuild`, `ext`, `latest-ext`, `ext-debian`, `ext-debian-ci`, `ext-ci`, `ext-debian-onbuild`, `ext-onbuild`
* Hugo 0.140.1: `0.140.1-debian`, `0.140.1-debian-ci`, `0.140.1-debian-onbuild`, `0.140.1-ext`, `0.140.1-ext-debian`, `0.140.1-ext-debian-ci`, `0.140.1-ext-ci`,`0.140.1-ext-debian-onbuild`, `0.140.1-ext-onbuild`
* Hugo 0.140.2: `0.140.2-debian`, `0.140.2-debian-ci`, `0.140.2-debian-onbuild`, `0.140.2-ext`, `0.140.2-ext-debian`, `0.140.2-ext-debian-ci`, `0.140.2-ext-ci`,`0.140.2-ext-debian-onbuild`, `0.140.2-ext-onbuild`

Image based upon [Ubuntu](https://hub.docker.com/r/_/ubuntu/):
* Aliases: `ubuntu`, `ubuntu-ci`, `ubuntu-onbuild`, `ext-ubuntu`, `ext-ubuntu-ci`, `ext-ubuntu-onbuild`
* Hugo 0.140.1: `0.140.1-ubuntu`, `0.140.1-ubuntu-ci`, `0.140.1-ubuntu-onbuild`, `0.140.1-ext-ubuntu`, `0.140.1-ext-ubuntu-ci`, `0.140.1-ext-ubuntu-onbuild`
* Hugo 0.140.2: `0.140.2-ubuntu`, `0.140.2-ubuntu-ci`, `0.140.2-ubuntu-onbuild`, `0.140.2-ext-ubuntu`, `0.140.2-ext-ubuntu-ci`, `0.140.2-ext-ubuntu-onbuild`

*Looking for older tags? Please see the [complete list of tags](https://github.com/floryn90/docker-hugo/blob/master/doc/tags.md).*

Expand All @@ -50,7 +50,7 @@ Normal build:
```shell
docker run --rm -it \
-v $(pwd):/src \
floryn90/hugo:0.140.1
floryn90/hugo:0.140.2
```

Run server:
Expand All @@ -59,7 +59,7 @@ Run server:
docker run --rm -it \
-v $(pwd):/src \
-p 1313:1313 \
floryn90/hugo:0.140.1 \
floryn90/hugo:0.140.2 \
server
```

Expand All @@ -70,7 +70,7 @@ Normal build:

```yaml
build:
image: floryn90/hugo:0.140.1
image: floryn90/hugo:0.140.2
volumes:
- ".:/src"
```
Expand All @@ -79,7 +79,7 @@ Run server:
```yaml
server:
image: floryn90/hugo:0.140.1
image: floryn90/hugo:0.140.2
command: server
volumes:
- ".:/src"
Expand Down Expand Up @@ -126,7 +126,7 @@ services:
script:
- docker run --rm -i \
-v $(pwd):/src \
floryn90/hugo:0.140.1
floryn90/hugo:0.140.2
```

The `bash` environment is used for faster loading before Travis is ready to trigger Docker.
Expand All @@ -142,7 +142,7 @@ To get into a shell for your site:
```shell
docker run --rm -it \
-v $(pwd):/src \
floryn90/hugo:0.140.1-alpine \
floryn90/hugo:0.140.2-alpine \
shell
```

Expand Down Expand Up @@ -175,7 +175,7 @@ The onbuild images adds content of the folder of your Dockerfile into `/src` and
Example Dockerfile for your project where the site is made into an nginx image (Docker 17.05-ce or newer):

```Dockerfile
FROM floryn90/hugo:0.140.1-onbuild AS hugo
FROM floryn90/hugo:0.140.2-onbuild AS hugo
FROM nginx
COPY --from=hugo /target /usr/share/nginx/html
Expand Down Expand Up @@ -212,7 +212,7 @@ Example of explicit setting `pandoc` alias:
docker run --rm -it \
-v $(pwd):/src \
-e HUGO_PANDOC="pandoc-default --strip-empty-paragraphs" \
floryn90/hugo:0.140.1-pandoc
floryn90/hugo:0.140.2-pandoc
```


Expand All @@ -228,14 +228,14 @@ On command line using `--entrypoint`:
docker run --rm -it \
-v $(pwd):/src \
--entrypoint hugo-official \
floryn90/hugo:0.140.1
floryn90/hugo:0.140.2
```

In docker-compose using `entrypoint`:

```yaml
build:
image: floryn90/hugo:0.140.1
image: floryn90/hugo:0.140.2
entrypoint: hugo-official
volumes:
- ".:/src"
Expand Down
63 changes: 63 additions & 0 deletions doc/changelog/0.140.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
## :loudspeaker: Breaking changes

*Nothing*


## :tada: Features

*Nothing*


## :bug: Fixes

*Nothing*


## :heartbeat: Updates

* Hugo: [`0.140.1`](https://github.com/floryn90/docker-hugo/releases/tag/0.140.1) => `0.140.2`


## Docker images

<details>
<summary>Click to see available images</summary>

This release is available from Docker Hub as project `floryn90/hugo` with the following tags:

| Alias tags | Version specific tags |
| ---------------------------- | ------------------------------------------ |
| `busybox`, `latest` | `0.140.2-busybox`, `0.140.2` |
| `busybox-ci`, `ci` | `0.140.2-busybox-ci`, `0.140.2-ci` |
| `busybox-onbuild`, `onbuild` | `0.140.2-busybox-onbuild`, `0.140.2-onbuild` |
| `alpine` | `0.140.2-alpine` |
| `alpine-ci` | `0.140.2-alpine-ci` |
| `alpine-onbuild` | `0.140.2-alpine-onbuild` |
| `asciidoctor` | `0.140.2-asciidoctor` |
| `asciidoctor-ci` | `0.140.2-asciidoctor-ci` |
| `asciidoctor-onbuild` | `0.140.2-asciidoctor-onbuild` |
| `pandoc` | `0.140.2-pandoc` |
| `pandoc-ci` | `0.140.2-pandoc-ci` |
| `pandoc-onbuild` | `0.140.2-pandoc-onbuild` |
| `ext-alpine` | `0.140.2-ext-alpine` |
| `ext-alpine-ci` | `0.140.2-ext-alpine-ci` |
| `ext-alpine-onbuild` | `0.140.2-ext-alpine-onbuild` |
| `ext-asciidoctor` | `0.140.2-ext-asciidoctor` |
| `ext-asciidoctor-ci` | `0.140.2-ext-asciidoctor-ci` |
| `ext-asciidoctor-onbuild` | `0.140.2-ext-asciidoctor-onbuild` |
| `ext-pandoc` | `0.140.2-ext-pandoc` |
| `ext-pandoc-ci` | `0.140.2-ext-pandoc-ci` |
| `ext-pandoc-onbuild` | `0.140.2-ext-pandoc-onbuild` |
| `debian` | `0.140.2-debian` |
| `debian-ci` | `0.140.2-debian-ci` |
| `debian-onbuild` | `0.140.2-debian-onbuild` |
| `ext-debian`, `ext`, `latest-ext` | `0.140.2-ext-debian`, `0.140.2-ext` |
| `ext-debian-ci`, `ext-ci` | `0.140.2-ext-debian-ci`, `0.140.2-ext-ci` |
| `ext-debian-onbuild`, `ext-onbuild` | `0.140.2-ext-debian-onbuild`, `0.140.2-ext-onbuild` |
| `ubuntu` | `0.140.2-ubuntu` |
| `ubuntu-ci` | `0.140.2-ubuntu-ci` |
| `ubuntu-onbuild` | `0.140.2-ubuntu-onbuild` |
| `ext-ubuntu` | `0.140.2-ext-ubuntu` |
| `ext-ubuntu-ci` | `0.140.2-ext-ubuntu-ci` |
| `ext-ubuntu-onbuild` | `0.140.2-ext-ubuntu-onbuild` |
</details>
2 changes: 1 addition & 1 deletion doc/changelog/NEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

## :heartbeat: Updates

* Hugo: [`0.140.1`](https://github.com/floryn90/docker-hugo/releases/tag/0.140.1) => `NEXT`
* Hugo: [`0.140.2`](https://github.com/floryn90/docker-hugo/releases/tag/0.140.2) => `NEXT`


## Docker images
Expand Down
2 changes: 2 additions & 0 deletions doc/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Default minimal image based upon [Busybox](https://hub.docker.com/r/_/busybox/):
* Aliases: `latest`, `busybox`, `busybox-ci`, `ci`, `busybox-onbuild`, `onbuild`
<!-- * Hugo NEXT: `NEXT-busybox`, `NEXT`, `NEXT-busybox-ci`, `NEXT-ci`, `NEXT-busybox-onbuild`, `NEXT-onbuild` -->
* Hugo 0.140.2: `0.140.2-busybox`, `0.140.2`, `0.140.2-busybox-ci`, `0.140.2-ci`, `0.140.2-busybox-onbuild`, `0.140.2-onbuild`
* Hugo 0.140.1: `0.140.1-busybox`, `0.140.1`, `0.140.1-busybox-ci`, `0.140.1-ci`, `0.140.1-busybox-onbuild`, `0.140.1-onbuild`
* Hugo 0.140.0: `0.140.0-busybox`, `0.140.0`, `0.140.0-busybox-ci`, `0.140.0-ci`, `0.140.0-busybox-onbuild`, `0.140.0-onbuild`
* Hugo 0.139.5: `0.139.5-busybox`, `0.139.5`, `0.139.5-busybox-ci`, `0.139.5-ci`, `0.139.5-busybox-onbuild`, `0.139.5-onbuild`
Expand Down Expand Up @@ -120,6 +121,7 @@ Default minimal image based upon [Busybox](https://hub.docker.com/r/_/busybox/):
Minimal image based upon [Alpine](https://hub.docker.com/r/_/alpine/):
* Aliases: `alpine`, `alpine-ci`, `alpine-onbuild`, `ext-alpine`, `ext-alpine-ci`, `ext-alpine-onbuild`
<!-- * Hugo NEXT: `NEXT-alpine`, `NEXT-alpine-ci`, `NEXT-alpine-onbuild`, `NEXT-ext-alpine`, `NEXT-ext-alpine-ci`, `NEXT-ext-alpine-onbuild` -->
* Hugo 0.140.2: `0.140.2-alpine`, `0.140.2-alpine-ci`, `0.140.2-alpine-onbuild`, `0.140.2-ext-alpine`, `0.140.2-ext-alpine-ci`, `0.140.2-ext-alpine-onbuild`
* Hugo 0.140.1: `0.140.1-alpine`, `0.140.1-alpine-ci`, `0.140.1-alpine-onbuild`, `0.140.1-ext-alpine`, `0.140.1-ext-alpine-ci`, `0.140.1-ext-alpine-onbuild`
* Hugo 0.140.0: `0.140.0-alpine`, `0.140.0-alpine-ci`, `0.140.0-alpine-onbuild`, `0.140.0-ext-alpine`, `0.140.0-ext-alpine-ci`, `0.140.0-ext-alpine-onbuild`
* Hugo 0.139.5: `0.139.5-alpine`, `0.139.5-alpine-ci`, `0.139.5-alpine-onbuild`, `0.139.5-ext-alpine`, `0.139.5-ext-alpine-ci`, `0.139.5-ext-alpine-onbuild`
Expand Down
2 changes: 1 addition & 1 deletion src/project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
image: floryn90/hugo
version: 0.140.1
version: 0.140.2

platforms:
- linux/amd64

0 comments on commit 27b19db

Please sign in to comment.