refactor pushrm and use env vars
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2020-09-02 21:07:49 +02:00
parent 023a221725
commit 6723bc37c8
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -93,42 +93,25 @@ platform:
steps:
- name: pushrm-dockerhub
image: chko/docker-pushrm:1
entrypoint:
- /docker-pushrm
command:
- --file
- README.md
- --short
- Custom Alpine base image
- 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 Alpine base image
PUSHRM_FILE: README.md
PUSHRM_SHORT: Rootless Alpine base image
PUSHRM_TARGET: xoxys/${DRONE_REPO_NAME}
when:
status:
- success
- name: pushrm-quay
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
@ -163,6 +146,6 @@ depends_on:
---
kind: signature
hmac: 9008f8bb562d11a1ca8af3424d4bcdbbe6b6248cd154c67627f97ef0fa37cd15
hmac: 4d8f5b005b61416ed325a768e73b877846f9368730027e1c1fa3e752a1f839be
...