Changing image name to plugins/hugo
This commit is contained in:
parent
76ef6b2284
commit
d2e051cd74
3 changed files with 28 additions and 28 deletions
16
Makefile
16
Makefile
|
|
@ -5,15 +5,15 @@ README_TEMPLATE=./docs/tmpl.md
|
||||||
all: release
|
all: release
|
||||||
|
|
||||||
test: Dockerfile drone-hugo.sh
|
test: Dockerfile drone-hugo.sh
|
||||||
docker build -t "drone-plugins/drone-hugo:$(hugo)_test" --build-arg HUGO_VERSION="$(hugo)" .
|
docker build -t "plugins/hugo:$(hugo)_test" --build-arg HUGO_VERSION="$(hugo)" .
|
||||||
|
|
||||||
build: Dockerfile drone-hugo.sh
|
build: Dockerfile drone-hugo.sh
|
||||||
docker build -t "drone-plugins/drone-hugo:$(hugo)" --build-arg HUGO_VERSION="$(hugo)" .
|
docker build -t "plugins/hugo:$(hugo)" --build-arg HUGO_VERSION="$(hugo)" .
|
||||||
docker build -t "drone-plugins/drone-hugo:latest" --build-arg HUGO_VERSION="$(hugo)" .
|
docker build -t "plugins/hugo:latest" --build-arg HUGO_VERSION="$(hugo)" .
|
||||||
|
|
||||||
push: build
|
push: build
|
||||||
docker push "drone-plugins/drone-hugo:$(hugo)"
|
docker push "plugins/hugo:$(hugo)"
|
||||||
docker push "drone-plugins/drone-hugo:latest"
|
docker push "plugins/hugo:latest"
|
||||||
|
|
||||||
release: $(README_TEMPLATE) test build push clean
|
release: $(README_TEMPLATE) test build push clean
|
||||||
sed 's/<HUGO_VERSION>/$(hugo)/g' $(README_TEMPLATE) > README.md
|
sed 's/<HUGO_VERSION>/$(hugo)/g' $(README_TEMPLATE) > README.md
|
||||||
|
|
@ -22,6 +22,6 @@ release: $(README_TEMPLATE) test build push clean
|
||||||
git push origin master
|
git push origin master
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
docker rmi drone-plugins/drone-hugo:$(hugo)
|
docker rmi plugins/hugo:$(hugo)
|
||||||
docker rmi drone-plugins/drone-hugo:latest
|
docker rmi plugins/hugo:latest
|
||||||
docker rmi drone-plugins/drone-hugo:$(hugo)_test
|
docker rmi plugins/hugo:$(hugo)_test
|
||||||
|
|
|
||||||
18
README.md
18
README.md
|
|
@ -1,7 +1,7 @@
|
||||||
# drone-plugins/drone-hugo
|
# plugins/hugo
|
||||||
|
|
||||||
[](https://github.com/drone-plugins/drone-hugo/releases) 
|
[](https://github.com/drone-plugins/drone-hugo/releases) 
|
||||||
[](https://hub.docker.com/r/drone-plugins/drone-hugo/tags/)
|
[](https://hub.docker.com/r/plugins/hugo/tags/)
|
||||||
|
|
||||||
**Automatically create static web page files using Hugo within your drone pipeline!**
|
**Automatically create static web page files using Hugo within your drone pipeline!**
|
||||||
|
|
||||||
|
|
@ -18,7 +18,7 @@ The example below demonstrates how you can use the plugin to automatically creat
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
hugo:
|
hugo:
|
||||||
image: drone-plugins/drone-hugo:0.40.2
|
image: plugins/hugo:0.40.2
|
||||||
validate: true
|
validate: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -31,7 +31,7 @@ You can customize the paths for e. g. the theme, layout, content directory and o
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
hugo:
|
hugo:
|
||||||
image: drone-plugins/drone-hugo:0.40.2
|
image: plugins/hugo:0.40.2
|
||||||
+ config: path/to/config
|
+ config: path/to/config
|
||||||
+ content: path/to/content/
|
+ content: path/to/content/
|
||||||
+ layout: path/to/layout
|
+ layout: path/to/layout
|
||||||
|
|
@ -48,7 +48,7 @@ You can also define a base URL directly in the pipeline, which is used when gene
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
hugo:
|
hugo:
|
||||||
image: drone-plugins/drone-hugo:0.40.2
|
image: plugins/hugo:0.40.2
|
||||||
config: path/to/config
|
config: path/to/config
|
||||||
content: path/to/content/
|
content: path/to/content/
|
||||||
output: path/to/public
|
output: path/to/public
|
||||||
|
|
@ -69,7 +69,7 @@ You can set the `buildDrafts`, `buildExpired`, `buildFuture` settings to configu
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
hugo:
|
hugo:
|
||||||
image: drone-plugins/drone-hugo:0.40.2
|
image: plugins/hugo:0.40.2
|
||||||
+ buildDrafts: true
|
+ buildDrafts: true
|
||||||
+ buildExpired: true
|
+ buildExpired: true
|
||||||
+ buildFuture: true
|
+ buildFuture: true
|
||||||
|
|
@ -89,7 +89,7 @@ Here is a short example of how to define a pipeline that automatically generates
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: drone-plugins/drone-hugo:0.40.2
|
image: plugins/hugo:0.40.2
|
||||||
output: site # Output path
|
output: site # Output path
|
||||||
validate: true
|
validate: true
|
||||||
when:
|
when:
|
||||||
|
|
@ -109,7 +109,7 @@ You can also use secrets to hide credentials:
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: drone-plugins/drone-hugo:0.40.2
|
image: plugins/hugo:0.40.2
|
||||||
output: site # Output path
|
output: site # Output path
|
||||||
validate: true
|
validate: true
|
||||||
when:
|
when:
|
||||||
|
|
@ -142,7 +142,7 @@ docker run --rm \
|
||||||
-e PLUGIN_VALIDATE=false \
|
-e PLUGIN_VALIDATE=false \
|
||||||
-v $(pwd):$(pwd) \
|
-v $(pwd):$(pwd) \
|
||||||
-w $(pwd) \
|
-w $(pwd) \
|
||||||
drone-plugins/drone-hugo:latest
|
plugins/hugo:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameter Reference
|
## Parameter Reference
|
||||||
|
|
|
||||||
22
docs/tmpl.md
22
docs/tmpl.md
|
|
@ -1,11 +1,11 @@
|
||||||
# drone-plugins/drone-hugo
|
# plugins/hugo
|
||||||
|
|
||||||
[](https://github.com/drone-plugins/drone-hugo/releases) 
|
[](https://github.com/plugins/hugo/releases) 
|
||||||
[](https://hub.docker.com/r/drone-plugins/drone-hugo/tags/)
|
[](https://hub.docker.com/r/plugins/hugo/tags/)
|
||||||
|
|
||||||
**Automatically create static web page files using Hugo within your drone pipeline!**
|
**Automatically create static web page files using Hugo within your drone pipeline!**
|
||||||
|
|
||||||
drone-plugins/drone-hugo is:
|
plugins/hugo is:
|
||||||
|
|
||||||
- **Easy** to implement in your existing pipeline using `.drone.yml`
|
- **Easy** to implement in your existing pipeline using `.drone.yml`
|
||||||
- **Small** 21mb image size
|
- **Small** 21mb image size
|
||||||
|
|
@ -18,7 +18,7 @@ The example below demonstrates how you can use the plugin to automatically creat
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
hugo:
|
hugo:
|
||||||
image: drone-plugins/drone-hugo:<HUGO_VERSION>
|
image: plugins/hugo:<HUGO_VERSION>
|
||||||
validate: true
|
validate: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -31,7 +31,7 @@ You can customize the paths for e. g. the theme, layout, content directory and o
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
hugo:
|
hugo:
|
||||||
image: drone-plugins/drone-hugo:<HUGO_VERSION>
|
image: plugins/hugo:<HUGO_VERSION>
|
||||||
+ config: path/to/config
|
+ config: path/to/config
|
||||||
+ content: path/to/content/
|
+ content: path/to/content/
|
||||||
+ layout: path/to/layout
|
+ layout: path/to/layout
|
||||||
|
|
@ -48,7 +48,7 @@ You can also define a base URL directly in the pipeline, which is used when gene
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
hugo:
|
hugo:
|
||||||
image: drone-plugins/drone-hugo:<HUGO_VERSION>
|
image: plugins/hugo:<HUGO_VERSION>
|
||||||
config: path/to/config
|
config: path/to/config
|
||||||
content: path/to/content/
|
content: path/to/content/
|
||||||
output: path/to/public
|
output: path/to/public
|
||||||
|
|
@ -69,7 +69,7 @@ You can set the `buildDrafts`, `buildExpired`, `buildFuture` settings to configu
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
hugo:
|
hugo:
|
||||||
image: drone-plugins/drone-hugo:<HUGO_VERSION>
|
image: plugins/hugo:<HUGO_VERSION>
|
||||||
+ buildDrafts: true
|
+ buildDrafts: true
|
||||||
+ buildExpired: true
|
+ buildExpired: true
|
||||||
+ buildFuture: true
|
+ buildFuture: true
|
||||||
|
|
@ -89,7 +89,7 @@ Here is a short example of how to define a pipeline that automatically generates
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: drone-plugins/drone-hugo:<HUGO_VERSION>
|
image: plugins/hugo:<HUGO_VERSION>
|
||||||
output: site # Output path
|
output: site # Output path
|
||||||
validate: true
|
validate: true
|
||||||
when:
|
when:
|
||||||
|
|
@ -109,7 +109,7 @@ You can also use secrets to hide credentials:
|
||||||
```yml
|
```yml
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: drone-plugins/drone-hugo:<HUGO_VERSION>
|
image: plugins/hugo:<HUGO_VERSION>
|
||||||
output: site # Output path
|
output: site # Output path
|
||||||
validate: true
|
validate: true
|
||||||
when:
|
when:
|
||||||
|
|
@ -142,7 +142,7 @@ docker run --rm \
|
||||||
-e PLUGIN_VALIDATE=false \
|
-e PLUGIN_VALIDATE=false \
|
||||||
-v $(pwd):$(pwd) \
|
-v $(pwd):$(pwd) \
|
||||||
-w $(pwd) \
|
-w $(pwd) \
|
||||||
drone-plugins/drone-hugo:latest
|
plugins/hugo:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameter Reference
|
## Parameter Reference
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue