Fix makefile and use full example
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-06-03 22:36:40 +02:00
parent be81d6f2db
commit 1ca05a79bc
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
2 changed files with 12 additions and 5 deletions

View File

@ -20,14 +20,17 @@ Use [`abra`](https://git.autonomic.zone/coop-cloud/abra) as a [Drone plugin](htt
```yaml
---
kind: pipeline
name: release a new recipe
name: recipe release
steps:
- name: cut a new release of wordpress
- name: release a new version
image: decentral1se/drone-abra:latest
settings:
command: recipe release
command: recipe matrix-synapse release
deploy_key:
from_secret: drone_deploy_key
from_secret: abra_bot_deploy_key
trigger:
event:
- tag
```
## Publishing

View File

@ -1,7 +1,11 @@
.PHONY: build push
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
@docker push decentral1se/drone-abra