Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace klakegg containers with floryn90 containers #455

6 changes: 3 additions & 3 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
# this is needed to checkout theme which normally come from separate git repository
submodules: true
- name: hugo
uses: klakegg/actions-hugo@832127b60a59f4ac9e5adda72cc8223a9b8473a0 # 1.0.0
uses: floryn90/actions-hugo@1.0.1
with:
version: 0.95.0
# "ext-" for the Hugo extended edition including git (https://github.com/klakegg/docker-hugo/blob/master/README.md#hugo-extended-edition)
version: 0.121.2
# "ext-" for the Hugo extended edition including git (https://github.com/floryn90/docker-hugo/blob/master/README.md#hugo-extended-edition)
image: ext-asciidoctor
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ You can now execute the website locally:

[source,bash]
--
docker compose up --build --force-recreate
RUN_AS_USER=$(id -u):$(id -g) docker compose up --build --force-recreate
--

You can then access it at http://localhost:1313/.
7 changes: 4 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
services:
status:
# "ext-" for the Hugo extended edition including git (https://github.com/klakegg/docker-hugo/blob/master/README.md#hugo-extended-edition)
image: klakegg/hugo:0.95.0-ext-asciidoctor
# "ext-" for the Hugo extended edition including git (https://github.com/floryn90/docker-hugo/blob/master/README.md#hugo-extended-edition)
user: ${RUN_AS_USER}
image: floryn90/hugo:0.121.2-ext-asciidoctor
volumes:
- .:/src
ports:
- 1313:1313
command: "serve --cleanDestinationDir --disableFastRender --printPathWarnings --printMemoryUsage --verbose --verboseLog --noHTTPCache"
command: "server --cleanDestinationDir --disableFastRender --logLevel info --noBuildLock --printPathWarnings --printMemoryUsage --noHTTPCache"
8 changes: 4 additions & 4 deletions updatecli/updatecli.d/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sources:
kind: githubrelease
name: Get the latest hugo version
spec:
owner: "klakegg"
owner: "floryn90"
repository: "docker-hugo"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
Expand All @@ -27,20 +27,20 @@ sources:

conditions:
checkIfDockerImageIsPublished:
name: "Test if the docker image 'klakegg/hugo' is available on the DockerHub registry"
name: "Test if the docker image 'floryn90/hugo' is available on the DockerHub registry"
transformers:
- addsuffix: "-ext-asciidoctor"
sourceid: getLatestDockerHugoVersion
kind: dockerimage
spec:
image: "klakegg/hugo"
image: "floryn90/hugo"
architecture: amd64
# Tag comes from the sourceid (+ transformation)

targets:
updateDockerComposeFile:
transformers:
- addprefix: "klakegg/hugo:"
- addprefix: "floryn90/hugo:"
- addsuffix: "-ext-asciidoctor"
name: "Update Hugo version in docker image name in docker-compose.yaml"
kind: yaml
Expand Down
Loading