Skip to content

Commit 2704d31

Browse files
committed
ci: glab wrapper
1 parent 0a95e22 commit 2704d31

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • stackgres-k8s/ci/utils

stackgres-k8s/ci/utils/glabw

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
mkdir -p ~/.config/glab-cli
4+
docker run -u "$(id -u):$(id -g)" -v /etc/passwd:/etc/passwd:ro -v "$HOME":"$HOME":ro -e PROMPT_COMMAND= --rm -ti -v "$(pwd):$(pwd)" -w "$(pwd)" -v "$HOME/.config/glab-cli:$HOME/.config/glab-cli" registry.gitlab.com/gitlab-org/cli glab "$@"

0 commit comments

Comments
 (0)