Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit bc45d5fa authored by Benoît's avatar Benoît
Browse files

add ID tokens

parent 4eefe925
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,9 @@ include:
- ARCH: amd64
- ARCH: arm64
- ARCH: all
id_tokens:
VAULT_ID_TOKEN:
aud: https://vault.doca.cloud
script:
- export VAULT_TOKEN="$(vault write -field=token auth/jwt/${CI_SERVER_HOST}/login role=${CI_PROJECT_NAME} token_ttl=60 jwt=${VAULT_ID_TOKEN})"
- mkdir -p ${HOME}/.docker
......@@ -26,6 +29,9 @@ include:
matrix:
- ARCH: amd64
- ARCH: arm64
id_tokens:
VAULT_ID_TOKEN:
aud: https://vault.doca.cloud
script:
- export VAULT_TOKEN="$(vault write -field=token auth/jwt/${CI_SERVER_HOST}/login role=${CI_PROJECT_NAME} token_ttl=600 jwt=${VAULT_ID_TOKEN})"
- mkdir -p ${HOME}/.docker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment