Skip to content

Commit

Permalink
chore(deps): bump hugo default version (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r authored Aug 20, 2022
1 parent 10641e8 commit 7342052
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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`<br>`HUGO_BASE_URL` |
| `cache_directory` | filesystem path to cache directory | `false` | `N/A` | `PARAMETER_CACHE_DIRECTORY`<br>`HUGO_CACHE_DIRECTORY` |
| `content_directory` | filesystem path to content directory | `false` | `N/A` | `PARAMETER_CONTENT_DIRECTORY`<br>`HUGO_CONTENT_DIRECTORY` |
| `config_directory` | filesystem path to config directory | `false` | `config` | `PARAMETER_CONFIG_DIRECTORY`<br>`HUGO_CONFIG_DIRECTORY` |
| `config_file` | config file to use from config directory (supports: `json`,`toml`,`yaml`) | `false` | `N/A` | `PARAMETER_CONFIG_FILE`<br>`HUGO_CONFIG_FILE` |
| `draft` | include content marked as draft | `false` | `false` | `PARAMETER_DRAFT`<br>`HUGO_DRAFT` |
| `environment` | target build environment, located in the config directory | `false` | `N/A` | `PARAMETER_ENVIRONMENT`<br>`HUGO_ENVIRONMENT` |
| `expired` | include expired content | `false` | `false` | `PARAMETER_EXPIRED`<br>`HUGO_EXPIRED` |
| `extended` | whether to use the extended hugo binary | `false` | `false` | `PARAMETER_EXTENDED`<br>`HUGO_EXTENDED` |
| `future` | include content with publish date in the future | `false` | `false` | `PARAMETER_FUTURE`<br>`HUGO_FUTURE` |
| `layout_directory` | filesystem path to layout directory | `false` | `N/A` | `PARAMETER_LAYOUT_DIRECTORY`<br>`HUGO_LAYOUT_DIRECTORY` |
| `log_level` | set the log level for the plugin | `true` | `info` | `PARAMETER_LOG_LEVEL`<br>`HUGO_LOG_LEVEL` |
| `output_directory` | filesystem path to write files to | `false` | `N/A` | `PARAMETER_OUTPUT_DIRECTORY`<br>`HUGO_OUTPUT_DIRECTORY` |
| `source_directory` | filesystem path to read files relative from | `false` | `N/A` | `PARAMETER_SOURCE_DIRECTORY`<br>`HUGO_SOURCE_DIRECTORY` |
| `theme_name` | theme to use from theme directory | `false` | `N/A` | `PARAMETER_THEME_NAME`<br>`HUGO_THEME_NAME` |
| `theme_directory` | filesystem path to themes directory | `false` | `themes` | `PARAMETER_THEME_DIRECTORY`<br>`HUGO_THEME_DIRECTORY` |
| `version` | the version of hugo the plugin should use | `false` | `0.76.5` | `PARAMETER_VERSION`<br>`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`<br>`HUGO_BASE_URL` |
| `cache_directory` | filesystem path to cache directory | `false` | `N/A` | `PARAMETER_CACHE_DIRECTORY`<br>`HUGO_CACHE_DIRECTORY` |
| `content_directory` | filesystem path to content directory | `false` | `N/A` | `PARAMETER_CONTENT_DIRECTORY`<br>`HUGO_CONTENT_DIRECTORY` |
| `config_directory` | filesystem path to config directory | `false` | `config` | `PARAMETER_CONFIG_DIRECTORY`<br>`HUGO_CONFIG_DIRECTORY` |
| `config_file` | config file to use from config directory (supports: `json`,`toml`,`yaml`) | `false` | `N/A` | `PARAMETER_CONFIG_FILE`<br>`HUGO_CONFIG_FILE` |
| `draft` | include content marked as draft | `false` | `false` | `PARAMETER_DRAFT`<br>`HUGO_DRAFT` |
| `environment` | target build environment, located in the config directory | `false` | `N/A` | `PARAMETER_ENVIRONMENT`<br>`HUGO_ENVIRONMENT` |
| `expired` | include expired content | `false` | `false` | `PARAMETER_EXPIRED`<br>`HUGO_EXPIRED` |
| `extended` | whether to use the extended hugo binary | `false` | `false` | `PARAMETER_EXTENDED`<br>`HUGO_EXTENDED` |
| `future` | include content with publish date in the future | `false` | `false` | `PARAMETER_FUTURE`<br>`HUGO_FUTURE` |
| `layout_directory` | filesystem path to layout directory | `false` | `N/A` | `PARAMETER_LAYOUT_DIRECTORY`<br>`HUGO_LAYOUT_DIRECTORY` |
| `log_level` | set the log level for the plugin | `true` | `info` | `PARAMETER_LOG_LEVEL`<br>`HUGO_LOG_LEVEL` |
| `output_directory` | filesystem path to write files to | `false` | `N/A` | `PARAMETER_OUTPUT_DIRECTORY`<br>`HUGO_OUTPUT_DIRECTORY` |
| `source_directory` | filesystem path to read files relative from | `false` | `N/A` | `PARAMETER_SOURCE_DIRECTORY`<br>`HUGO_SOURCE_DIRECTORY` |
| `theme_name` | theme to use from theme directory | `false` | `N/A` | `PARAMETER_THEME_NAME`<br>`HUGO_THEME_NAME` |
| `theme_directory` | filesystem path to themes directory | `false` | `themes` | `PARAMETER_THEME_DIRECTORY`<br>`HUGO_THEME_DIRECTORY` |
| `version` | the version of hugo the plugin should use | `false` | `0.101.0` | `PARAMETER_VERSION`<br>`HUGO_VERSION` |

## Template

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . ##
Expand Down

0 comments on commit 7342052

Please sign in to comment.