better secret management
This commit is contained in:
parent
d9b77a4f14
commit
abb21b5eea
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"after": "acbf7c5fcdc38935a872b3c01129a74385dc2517",
|
"after": "d9b77a4f147d0096af8e982cb7dcfcefab7e6a09",
|
||||||
"repository": {
|
"repository": {
|
||||||
"owner": {
|
"owner": {
|
||||||
"username": "quentin"
|
"username": "quentin"
|
||||||
|
@ -9,6 +9,6 @@
|
||||||
"clone_url": "https://git.deuxfleurs.fr/quentin/albatros.git"
|
"clone_url": "https://git.deuxfleurs.fr/quentin/albatros.git"
|
||||||
},
|
},
|
||||||
"sender": {
|
"sender": {
|
||||||
"username": "external_contributor"
|
"username": "quentin"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@ export COMMIT=${NOMAD_META_COMMIT}
|
||||||
export BRANCH=${NOMAD_META_BRANCH}
|
export BRANCH=${NOMAD_META_BRANCH}
|
||||||
export REPO_URL=${NOMAD_META_REPO_URL}
|
export REPO_URL=${NOMAD_META_REPO_URL}
|
||||||
export FLAVOR=${NOMAD_META_FLAVOR}
|
export FLAVOR=${NOMAD_META_FLAVOR}
|
||||||
if [[ -f /var/run/secrets/albatros/secret.txt ]]; then
|
if [[ -s /var/run/secrets/albatros/secret.txt ]]; then
|
||||||
export SECRET_PATH=/var/run/secrets/albatros/secret.txt
|
export SECRET_PATH=/var/run/secrets/albatros/secret.txt
|
||||||
fi
|
fi
|
||||||
./.albatros
|
./.albatros
|
||||||
|
|
Loading…
Reference in a new issue