Fix the ARTIFACTS_DIR path issue

Change-Id: I6c7c417d8f9ea9a619e2a6412d3143999562ca10
This commit is contained in:
Siraj Yasin 2021-11-03 21:03:01 +00:00 committed by Sirajudeen
parent cb7db9581b
commit 8758527b4e
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ install /tmp/kustomize /usr/local/bin
SOPS_IMPORT_PGP=$( cat /opt/aiap-secret-volume/SOPS_IMPORT_PGP )
if [ -z "${SOPS_IMPORT_PGP}" ];then
# set user1 key
SOPS_IMPORT_PGP="$(cat ./manifests/.private-keys/exampleU1.key)"
SOPS_IMPORT_PGP="$(cat $ARTIFACTS_DIR/airshipctl/manifests/.private-keys/exampleU1.key)"
fi
export SOPS_IMPORT_PGP=${SOPS_IMPORT_PGP}