Update git-credential-vault installation command

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-10-25 18:36:23 +02:00
parent d4c82d3915
commit 2713a5ab13
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -6,7 +6,7 @@ ARG VAULT_TOKEN
RUN set -ex \
&& apk --no-cache add git \
&& GOPATH=/usr/local go get -u -v github.com/Luzifer/git-credential-vault \
&& GOPATH=/usr/local go install github.com/Luzifer/git-credential-vault@latest \
&& git config --global credential.helper 'vault --vault-path-prefix {{ env `VAULT_GIT_CREDENTIAL_PATH` }}'
{{- end }}