Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support proxy for outgoing traffic #217

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 30 additions & 0 deletions README.md
Expand Up @@ -620,6 +620,36 @@ Terraform module to automate your infrastructure provisioning. See [examples](ht
Identity Pool mapping until the permissions are available.


## Egress Proxy Support

Using a proxy for outgoing traffic is supported via [global-agent](https://github.com/gajus/global-agent).
```yaml
jobs:
job_id:
# ...

# Add "id-token" with the intended permissions.
permissions:
contents: 'read'
id-token: 'write'

steps:
- uses: 'actions/checkout@v3'

- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v0'
env:
# See: https://github.com/gajus/global-agent#environment-variables
GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE: ""
HTTPS_PROXY: http://my.proxy:3128

with:
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
service_account: 'my-service-account@my-project.iam.gserviceaccount.com'
```


## GitHub Token Format

Below is a sample GitHub Token for reference for attribute mappings. For a list of all
Expand Down
2 changes: 1 addition & 1 deletion dist/main/index.js

Large diffs are not rendered by default.