commit: 39bec174246c6cc7124765674a846dcd65fe343b Author: Max Magorsch <arzano <AT> gentoo <DOT> org> AuthorDate: Fri Feb 5 21:34:23 2021 +0000 Commit: Max Magorsch <arzano <AT> gentoo <DOT> org> CommitDate: Fri Feb 5 21:54:26 2021 +0000 URL: https://gitweb.gentoo.org/proj/docker-images.git/commit/?id=39bec174
Add debug statement to restore credentials Signed-off-by: Max Magorsch <arzano <AT> gentoo.org> deploy.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy.sh b/deploy.sh index b27d5ab..22d59ac 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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}"