Create registrykeygen.sh
This commit is contained in:
parent
8f4b6926c8
commit
800bf6e91d
1 changed files with 14 additions and 0 deletions
14
registrykeygen.sh
Normal file
14
registrykeygen.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
REG_USER_REMOTE=KUR
|
||||
REG_PASS_REMOTE=MUR
|
||||
|
||||
REG_HOST_REMOTE=HOSTZZ
|
||||
export REG_HOST_REMOTE
|
||||
|
||||
REG_ACCOUNT="${REG_USER_REMOTE}:${REG_PASS_REMOTE}"
|
||||
REG_B64_ACCOUNT=`echo $REG_ACCOUNT | base64 -w 0`
|
||||
export REG_B64_ACCOUNT
|
||||
REG_B64_CONFIG=`cat dockerconfig.json | envsubst | base64 -w 0`
|
||||
export REG_B64_CONFIG
|
||||
cat registrykey.yaml | envsubst
|
Loading…
Reference in a new issue