From 73420521f551519f1a380bda7e678c7ec002e3a9 Mon Sep 17 00:00:00 2001
From: David May <1301201+wass3r@users.noreply.github.com>
Date: Sat, 20 Aug 2022 11:25:45 +0000
Subject: [PATCH] chore(deps): bump hugo default version (#34)
---
DOCS.md | 40 ++++++++++++++++++++--------------------
Dockerfile | 2 +-
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/DOCS.md b/DOCS.md
index ad9b8b3..dc307a2 100644
--- a/DOCS.md
+++ b/DOCS.md
@@ -46,7 +46,7 @@ steps:
pull: always
parameters:
theme_name: hugo-theme-learn
-+ version: 0.79.0
++ version: 0.101.0
```
Sample of building a site using the extended `hugo` binary:
@@ -100,25 +100,25 @@ steps:
The following parameters are used to configure the image:
-| Name | Description | Required | Default | Environment Variables |
-| ------------------- | ------------------------------------------------------------------------- | -------- | -------- | --------------------------------------------------------- |
-| `base_url` | hostname (and path) to the root, e.g. http://spf13.com/ | `false` | `N/A` | `PARAMETER_BASE_URL`
`HUGO_BASE_URL` |
-| `cache_directory` | filesystem path to cache directory | `false` | `N/A` | `PARAMETER_CACHE_DIRECTORY`
`HUGO_CACHE_DIRECTORY` |
-| `content_directory` | filesystem path to content directory | `false` | `N/A` | `PARAMETER_CONTENT_DIRECTORY`
`HUGO_CONTENT_DIRECTORY` |
-| `config_directory` | filesystem path to config directory | `false` | `config` | `PARAMETER_CONFIG_DIRECTORY`
`HUGO_CONFIG_DIRECTORY` |
-| `config_file` | config file to use from config directory (supports: `json`,`toml`,`yaml`) | `false` | `N/A` | `PARAMETER_CONFIG_FILE`
`HUGO_CONFIG_FILE` |
-| `draft` | include content marked as draft | `false` | `false` | `PARAMETER_DRAFT`
`HUGO_DRAFT` |
-| `environment` | target build environment, located in the config directory | `false` | `N/A` | `PARAMETER_ENVIRONMENT`
`HUGO_ENVIRONMENT` |
-| `expired` | include expired content | `false` | `false` | `PARAMETER_EXPIRED`
`HUGO_EXPIRED` |
-| `extended` | whether to use the extended hugo binary | `false` | `false` | `PARAMETER_EXTENDED`
`HUGO_EXTENDED` |
-| `future` | include content with publish date in the future | `false` | `false` | `PARAMETER_FUTURE`
`HUGO_FUTURE` |
-| `layout_directory` | filesystem path to layout directory | `false` | `N/A` | `PARAMETER_LAYOUT_DIRECTORY`
`HUGO_LAYOUT_DIRECTORY` |
-| `log_level` | set the log level for the plugin | `true` | `info` | `PARAMETER_LOG_LEVEL`
`HUGO_LOG_LEVEL` |
-| `output_directory` | filesystem path to write files to | `false` | `N/A` | `PARAMETER_OUTPUT_DIRECTORY`
`HUGO_OUTPUT_DIRECTORY` |
-| `source_directory` | filesystem path to read files relative from | `false` | `N/A` | `PARAMETER_SOURCE_DIRECTORY`
`HUGO_SOURCE_DIRECTORY` |
-| `theme_name` | theme to use from theme directory | `false` | `N/A` | `PARAMETER_THEME_NAME`
`HUGO_THEME_NAME` |
-| `theme_directory` | filesystem path to themes directory | `false` | `themes` | `PARAMETER_THEME_DIRECTORY`
`HUGO_THEME_DIRECTORY` |
-| `version` | the version of hugo the plugin should use | `false` | `0.76.5` | `PARAMETER_VERSION`
`HUGO_VERSION` |
+| Name | Description | Required | Default | Environment Variables |
+| ------------------- | ------------------------------------------------------------------------- | -------- | --------- | --------------------------------------------------------- |
+| `base_url` | hostname (and path) to the root, e.g. http://spf13.com/ | `false` | `N/A` | `PARAMETER_BASE_URL`
`HUGO_BASE_URL` |
+| `cache_directory` | filesystem path to cache directory | `false` | `N/A` | `PARAMETER_CACHE_DIRECTORY`
`HUGO_CACHE_DIRECTORY` |
+| `content_directory` | filesystem path to content directory | `false` | `N/A` | `PARAMETER_CONTENT_DIRECTORY`
`HUGO_CONTENT_DIRECTORY` |
+| `config_directory` | filesystem path to config directory | `false` | `config` | `PARAMETER_CONFIG_DIRECTORY`
`HUGO_CONFIG_DIRECTORY` |
+| `config_file` | config file to use from config directory (supports: `json`,`toml`,`yaml`) | `false` | `N/A` | `PARAMETER_CONFIG_FILE`
`HUGO_CONFIG_FILE` |
+| `draft` | include content marked as draft | `false` | `false` | `PARAMETER_DRAFT`
`HUGO_DRAFT` |
+| `environment` | target build environment, located in the config directory | `false` | `N/A` | `PARAMETER_ENVIRONMENT`
`HUGO_ENVIRONMENT` |
+| `expired` | include expired content | `false` | `false` | `PARAMETER_EXPIRED`
`HUGO_EXPIRED` |
+| `extended` | whether to use the extended hugo binary | `false` | `false` | `PARAMETER_EXTENDED`
`HUGO_EXTENDED` |
+| `future` | include content with publish date in the future | `false` | `false` | `PARAMETER_FUTURE`
`HUGO_FUTURE` |
+| `layout_directory` | filesystem path to layout directory | `false` | `N/A` | `PARAMETER_LAYOUT_DIRECTORY`
`HUGO_LAYOUT_DIRECTORY` |
+| `log_level` | set the log level for the plugin | `true` | `info` | `PARAMETER_LOG_LEVEL`
`HUGO_LOG_LEVEL` |
+| `output_directory` | filesystem path to write files to | `false` | `N/A` | `PARAMETER_OUTPUT_DIRECTORY`
`HUGO_OUTPUT_DIRECTORY` |
+| `source_directory` | filesystem path to read files relative from | `false` | `N/A` | `PARAMETER_SOURCE_DIRECTORY`
`HUGO_SOURCE_DIRECTORY` |
+| `theme_name` | theme to use from theme directory | `false` | `N/A` | `PARAMETER_THEME_NAME`
`HUGO_THEME_NAME` |
+| `theme_directory` | filesystem path to themes directory | `false` | `themes` | `PARAMETER_THEME_DIRECTORY`
`HUGO_THEME_DIRECTORY` |
+| `version` | the version of hugo the plugin should use | `false` | `0.101.0` | `PARAMETER_VERSION`
`HUGO_VERSION` |
## Template
diff --git a/Dockerfile b/Dockerfile
index 94c4e01..e77e5d5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,7 @@
# set a global Docker argument for the default CLI version
#
# https://github.com/moby/moby/issues/37345
-ARG HUGO_VERSION=0.76.5
+ARG HUGO_VERSION=0.101.0
##########################################################################
## docker build --no-cache --target binary -t vela-hugo:binary . ##