Fix makefile and use full example
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
be81d6f2db
commit
1ca05a79bc
11
README.md
11
README.md
|
@ -20,14 +20,17 @@ Use [`abra`](https://git.autonomic.zone/coop-cloud/abra) as a [Drone plugin](htt
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: release a new recipe
|
name: recipe release
|
||||||
steps:
|
steps:
|
||||||
- name: cut a new release of wordpress
|
- name: release a new version
|
||||||
image: decentral1se/drone-abra:latest
|
image: decentral1se/drone-abra:latest
|
||||||
settings:
|
settings:
|
||||||
command: recipe release
|
command: recipe matrix-synapse release
|
||||||
deploy_key:
|
deploy_key:
|
||||||
from_secret: drone_deploy_key
|
from_secret: abra_bot_deploy_key
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
```
|
```
|
||||||
|
|
||||||
## Publishing
|
## Publishing
|
||||||
|
|
6
makefile
6
makefile
|
@ -1,7 +1,11 @@
|
||||||
.PHONY: build push
|
.PHONY: build push
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@docker build -t decentral1se/drone-abra .
|
@cd ~/.abra/src && \
|
||||||
|
make push && \
|
||||||
|
cd - && \
|
||||||
|
docker pull decentral1se/abra && \
|
||||||
|
docker build -t decentral1se/drone-abra .
|
||||||
|
|
||||||
push: build
|
push: build
|
||||||
@docker push decentral1se/drone-abra
|
@docker push decentral1se/drone-abra
|
||||||
|
|
Loading…
Reference in New Issue