Skip to content

Commit 1353cfb

Browse files
committed
Add temporary deploy key in order to fetch the private modules.
This is a temporary workaround for golang. Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
1 parent 800dfed commit 1353cfb

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ jobs:
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v5
28+
# TODO: remove when this repo is made public
29+
# Needed for golang in order to fetch the private modules.
30+
- uses: webfactory/ssh-agent@v0.6.0
31+
with:
32+
ssh-private-key: |
33+
${{ secrets.TEMP_DEPLOY_KEY }}
34+
- name: Configure Git for Private Modules
35+
run: |
36+
go env -w GOPRIVATE="github.com/stackitcloud/pulumi-stackit"
37+
git config --global url."ssh://git@github.com/".insteadOf "https://github.com/"
38+
# TODO: remove end
2839
- name: Unshallow clone for tags
2940
run: git fetch --prune --unshallow --tags
3041
- name: Install pulumictl

0 commit comments

Comments
 (0)