refactor pushrm and use env vars
continuous-integration/drone/push Build was killed Details

This commit is contained in:
Robert Kaussow 2020-09-02 21:16:39 +02:00
parent c6799876a7
commit f8001ba16a
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 8 additions and 23 deletions

View File

@ -112,43 +112,28 @@ platform:
steps:
- name: pushrm-dockerhub
pull: always
image: chko/docker-pushrm:1
entrypoint:
- /docker-pushrm
command:
- --file
- README.md
- --short
- Rootless Bitwarden RS - Self-hosted password manager
- xoxys/${DRONE_REPO_NAME}
environment:
DOCKER_PASS:
from_secret: docker_password
DOCKER_USER:
from_secret: docker_username
README_PATH: README.md
REPO_NAME: xoxys/${DRONE_REPO_NAME}
SHORT_DESCRIPTION: Rootless Bitwarden RS - Self-hosted password manager
PUSHRM_FILE: README.md
PUSHRM_SHORT: Rootless Alpine base image
PUSHRM_TARGET: xoxys/${DRONE_REPO_NAME}
when:
status:
- success
- name: pushrm-quay
pull: always
image: chko/docker-pushrm:1
entrypoint:
- /docker-pushrm
command:
- --provider
- quay
- --file
- README.md
- quay.io/thegeeklab/${DRONE_REPO_NAME}
environment:
APIKEY__QUAY_IO:
from_secret: quay_token
README_PATH: README.md
REPO_NAME: thegeeklab/${DRONE_REPO_NAME}
SHORT_DESCRIPTION: Custom Alpine base image
PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME}
when:
status:
- success
@ -183,6 +168,6 @@ depends_on:
---
kind: signature
hmac: 5c1f4137d8197db8094fad2c9207f1a62d598e1b6404275a8d895e06c65b90f2
hmac: 697806cef75db8065295150bd8ed87bb0af80cb4ce7b1c370f410432690dcd67
...