Moving to new repository drone-plugins/drone-hugo
This commit is contained in:
parent
1e32493586
commit
76ef6b2284
3 changed files with 38 additions and 38 deletions
16
Makefile
16
Makefile
|
|
@ -5,15 +5,15 @@ README_TEMPLATE=./docs/tmpl.md
|
|||
all: release
|
||||
|
||||
test: Dockerfile drone-hugo.sh
|
||||
docker build -t "cbrgm/drone-hugo:$(hugo)_test" --build-arg HUGO_VERSION="$(hugo)" .
|
||||
docker build -t "drone-plugins/drone-hugo:$(hugo)_test" --build-arg HUGO_VERSION="$(hugo)" .
|
||||
|
||||
build: Dockerfile drone-hugo.sh
|
||||
docker build -t "cbrgm/drone-hugo:$(hugo)" --build-arg HUGO_VERSION="$(hugo)" .
|
||||
docker build -t "cbrgm/drone-hugo:latest" --build-arg HUGO_VERSION="$(hugo)" .
|
||||
docker build -t "drone-plugins/drone-hugo:$(hugo)" --build-arg HUGO_VERSION="$(hugo)" .
|
||||
docker build -t "drone-plugins/drone-hugo:latest" --build-arg HUGO_VERSION="$(hugo)" .
|
||||
|
||||
push: build
|
||||
docker push "cbrgm/drone-hugo:$(hugo)"
|
||||
docker push "cbrgm/drone-hugo:latest"
|
||||
docker push "drone-plugins/drone-hugo:$(hugo)"
|
||||
docker push "drone-plugins/drone-hugo:latest"
|
||||
|
||||
release: $(README_TEMPLATE) test build push clean
|
||||
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
|
||||
|
||||
clean:
|
||||
docker rmi cbrgm/drone-hugo:$(hugo)
|
||||
docker rmi cbrgm/drone-hugo:latest
|
||||
docker rmi cbrgm/drone-hugo:$(hugo)_test
|
||||
docker rmi drone-plugins/drone-hugo:$(hugo)
|
||||
docker rmi drone-plugins/drone-hugo:latest
|
||||
docker rmi drone-plugins/drone-hugo:$(hugo)_test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue