mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-09 05:21:36 +03:00
++ fix module token auth format username colon token
This commit is contained in:
parent
f66f7839b9
commit
e6b02d42c5
@ -97,7 +97,7 @@ jobs:
|
||||
fi
|
||||
- name: Configure module registry auth
|
||||
run: |
|
||||
git config --global url."https://${GITLAB_MODULE_TOKEN}@gitlab.sarex.io/".insteadOf "ssh://git@gitlab.sarex.io/"
|
||||
git config --global url."https://gitlab-module-pull:${GITLAB_MODULE_TOKEN}@gitlab.sarex.io/".insteadOf "ssh://git@gitlab.sarex.io/"
|
||||
- name: Decrypt secret values
|
||||
# SOPS_AGE_KEY only reaches this step, not the whole job - the rest
|
||||
# (checkout, kubeconfig, terragrunt run) never sees it.
|
||||
@ -158,7 +158,7 @@ jobs:
|
||||
fi
|
||||
- name: Configure module registry auth
|
||||
run: |
|
||||
git config --global url."https://${GITLAB_MODULE_TOKEN}@gitlab.sarex.io/".insteadOf "ssh://git@gitlab.sarex.io/"
|
||||
git config --global url."https://gitlab-module-pull:${GITLAB_MODULE_TOKEN}@gitlab.sarex.io/".insteadOf "ssh://git@gitlab.sarex.io/"
|
||||
- name: Decrypt secret values
|
||||
# SOPS_AGE_KEY only reaches this step, not the whole job - the rest
|
||||
# (checkout, kubeconfig, terragrunt run) never sees it.
|
||||
@ -220,7 +220,7 @@ jobs:
|
||||
fi
|
||||
- name: Configure module registry auth
|
||||
run: |
|
||||
git config --global url."https://${GITLAB_MODULE_TOKEN}@gitlab.sarex.io/".insteadOf "ssh://git@gitlab.sarex.io/"
|
||||
git config --global url."https://gitlab-module-pull:${GITLAB_MODULE_TOKEN}@gitlab.sarex.io/".insteadOf "ssh://git@gitlab.sarex.io/"
|
||||
- name: Decrypt secret values
|
||||
# SOPS_AGE_KEY only reaches this step, not the whole job - the rest
|
||||
# (checkout, kubeconfig, terragrunt run) never sees it.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user