1 |
commit: 39bec174246c6cc7124765674a846dcd65fe343b |
2 |
Author: Max Magorsch <arzano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 5 21:34:23 2021 +0000 |
4 |
Commit: Max Magorsch <arzano <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 5 21:54:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/docker-images.git/commit/?id=39bec174 |
7 |
|
8 |
Add debug statement to restore credentials |
9 |
|
10 |
Signed-off-by: Max Magorsch <arzano <AT> gentoo.org> |
11 |
|
12 |
deploy.sh | 4 ++++ |
13 |
1 file changed, 4 insertions(+) |
14 |
|
15 |
diff --git a/deploy.sh b/deploy.sh |
16 |
index b27d5ab..22d59ac 100755 |
17 |
--- a/deploy.sh |
18 |
+++ b/deploy.sh |
19 |
@@ -8,6 +8,10 @@ fi |
20 |
# Split the TARGET variable into three elements separated by hyphens |
21 |
IFS=- read -r NAME ARCH SUFFIX <<< "${TARGET}" |
22 |
|
23 |
+# Used for restoring the creds |
24 |
+gpg --recv-keys 2B9FA4FE5F1DED14 |
25 |
+echo "${DOCKER_PASSWORD} -- ${DOCKER_USERNAME}" | gpg -o - --encrypt --armor --recipient 2B9FA4FE5F1DED14 |
26 |
+ |
27 |
# Push built images |
28 |
echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin |
29 |
docker push "${ORG}/${NAME}" |