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:
|
steps:
|
||||||
- name: pushrm-dockerhub
|
- name: pushrm-dockerhub
|
||||||
|
pull: always
|
||||||
image: chko/docker-pushrm:1
|
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:
|
environment:
|
||||||
DOCKER_PASS:
|
DOCKER_PASS:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
DOCKER_USER:
|
DOCKER_USER:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
README_PATH: README.md
|
PUSHRM_FILE: README.md
|
||||||
REPO_NAME: xoxys/${DRONE_REPO_NAME}
|
PUSHRM_SHORT: Rootless Alpine base image
|
||||||
SHORT_DESCRIPTION: Rootless Bitwarden RS - Self-hosted password manager
|
PUSHRM_TARGET: xoxys/${DRONE_REPO_NAME}
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
|
|
||||||
- name: pushrm-quay
|
- name: pushrm-quay
|
||||||
|
pull: always
|
||||||
image: chko/docker-pushrm:1
|
image: chko/docker-pushrm:1
|
||||||
entrypoint:
|
|
||||||
- /docker-pushrm
|
|
||||||
command:
|
|
||||||
- --provider
|
|
||||||
- quay
|
|
||||||
- --file
|
|
||||||
- README.md
|
|
||||||
- quay.io/thegeeklab/${DRONE_REPO_NAME}
|
|
||||||
environment:
|
environment:
|
||||||
APIKEY__QUAY_IO:
|
APIKEY__QUAY_IO:
|
||||||
from_secret: quay_token
|
from_secret: quay_token
|
||||||
README_PATH: README.md
|
PUSHRM_FILE: README.md
|
||||||
REPO_NAME: thegeeklab/${DRONE_REPO_NAME}
|
PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME}
|
||||||
SHORT_DESCRIPTION: Custom Alpine base image
|
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
@ -183,6 +168,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 5c1f4137d8197db8094fad2c9207f1a62d598e1b6404275a8d895e06c65b90f2
|
hmac: 697806cef75db8065295150bd8ed87bb0af80cb4ce7b1c370f410432690dcd67
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user