refactor pushrm and use env vars
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
c6799876a7
commit
f8001ba16a
31
.drone.yml
31
.drone.yml
@ -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
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user