refactor pushrm and use env vars
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
023a221725
commit
6723bc37c8
29
.drone.yml
29
.drone.yml
@ -93,42 +93,25 @@ platform:
|
|||||||
steps:
|
steps:
|
||||||
- name: pushrm-dockerhub
|
- name: pushrm-dockerhub
|
||||||
image: chko/docker-pushrm:1
|
image: chko/docker-pushrm:1
|
||||||
entrypoint:
|
|
||||||
- /docker-pushrm
|
|
||||||
command:
|
|
||||||
- --file
|
|
||||||
- README.md
|
|
||||||
- --short
|
|
||||||
- Custom Alpine base image
|
|
||||||
- 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 Alpine base image
|
PUSHRM_TARGET: xoxys/${DRONE_REPO_NAME}
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
|
|
||||||
- name: pushrm-quay
|
- name: pushrm-quay
|
||||||
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
|
||||||
@ -163,6 +146,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 9008f8bb562d11a1ca8af3424d4bcdbbe6b6248cd154c67627f97ef0fa37cd15
|
hmac: 4d8f5b005b61416ed325a768e73b877846f9368730027e1c1fa3e752a1f839be
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user