Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions registry/coder/modules/github-upload-public-key/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Templates that utilize Github External Auth can automatically ensure that the Co
module "github-upload-public-key" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/github-upload-public-key/coder"
version = "1.0.32"
version = "1.0.33"
agent_id = coder_agent.main.id
}
```
Expand Down Expand Up @@ -47,7 +47,7 @@ data "coder_external_auth" "github" {
module "github-upload-public-key" {
count = data.coder_workspace.me.start_count
source = "registry.coder.com/coder/github-upload-public-key/coder"
version = "1.0.32"
version = "1.0.33"
agent_id = coder_agent.main.id
external_auth_id = data.coder_external_auth.github.id
}
Expand Down
2 changes: 1 addition & 1 deletion registry/coder/modules/github-upload-public-key/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ PUBLIC_KEY_RESPONSE=$(
curl -L -s \
-w "\n%%{http_code}" \
-H 'accept: application/json' \
-H "cookie: coder_session_token=$CODER_OWNER_SESSION_TOKEN" \
-H "Coder-Session-Token: $CODER_OWNER_SESSION_TOKEN" \
"$CODER_ACCESS_URL/api/v2/users/me/gitsshkey"
)
PUBLIC_KEY_RESPONSE_STATUS=$(tail -n1 <<< "$PUBLIC_KEY_RESPONSE")
Expand Down
Loading