Try password from stdin.
continuous-integration/drone Build is failing Details

master
josiah 1 year ago
parent cf5c4eda93
commit aa81e92dc9

@ -2,11 +2,6 @@ kind: pipeline
type: docker
name: Update image
# run from within a docker container. probably minimal. Debian / alpine/ nixos?
# pull down the images i'm interested in (list? array?)
# retag them and upload to my own package registry
## This requires secrets! I gotta be able to login to my own package repo.
steps:
- name: Pull secret image and upload an updated copy to my package repo.
@ -20,7 +15,7 @@ steps:
from_secret: secret-image
commands:
- apk add docker
- docker login git.awful.club -u $USERNAME -p $PASSWORD
- echo $PASSWORD | docker login git.awful.club -u $USERNAME -p --password-stdin
- docker pull $IMAGE
- docker image tag {{ secret image name }} {{git.awful.club/packages/my_new_package}}
- docker image push

Loading…
Cancel
Save