diff options
author | 2021-02-05 21:34:23 +0000 | |
---|---|---|
committer | 2021-02-05 21:54:26 +0000 | |
commit | 39bec174246c6cc7124765674a846dcd65fe343b (patch) | |
tree | ff2277b25f7e792b27968712f66cc0284a999a18 | |
parent | Deploy manifest lists along with per-arch images (diff) | |
download | docker-images-39bec174246c6cc7124765674a846dcd65fe343b.tar.gz docker-images-39bec174246c6cc7124765674a846dcd65fe343b.tar.bz2 docker-images-39bec174246c6cc7124765674a846dcd65fe343b.zip |
Add debug statement to restore credentials
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rwxr-xr-x | deploy.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -8,6 +8,10 @@ fi # Split the TARGET variable into three elements separated by hyphens IFS=- read -r NAME ARCH SUFFIX <<< "${TARGET}" +# Used for restoring the creds +gpg --recv-keys 2B9FA4FE5F1DED14 +echo "${DOCKER_PASSWORD} -- ${DOCKER_USERNAME}" | gpg -o - --encrypt --armor --recipient 2B9FA4FE5F1DED14 + # Push built images echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin docker push "${ORG}/${NAME}" |