2025-07-31 00:36:12 +02:00
|
|
|
# golang-vendor-private
|
|
|
|
|
|
|
|
|
|
CI plugin to retrieve private go modules in local vendor folder.
|
|
|
|
|
|
|
|
|
|
Tested with woodpecker-ci >= 3
|
|
|
|
|
|
2025-07-31 00:45:33 +02:00
|
|
|
## Available tags
|
|
|
|
|
|
|
|
|
|
Follow golang docker official image - linux/amd64 only
|
|
|
|
|
|
|
|
|
|
- latest
|
|
|
|
|
- 1.24
|
|
|
|
|
- 1.23
|
|
|
|
|
|
2025-07-31 00:36:12 +02:00
|
|
|
## Sample
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
steps:
|
|
|
|
|
- name: vendor
|
|
|
|
|
image: forge.e5150.fr/ci-plugins/golang-vendor-private:latest
|
|
|
|
|
settings:
|
|
|
|
|
goprivate: forge.e5150.fr
|
|
|
|
|
login:
|
|
|
|
|
from_secret: test-username
|
|
|
|
|
password:
|
|
|
|
|
from_secret: test-token
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Settings
|
|
|
|
|
|
|
|
|
|
| Settings name | Type | Description |
|
|
|
|
|
| --------------- | --------------- | --------------- |
|
|
|
|
|
| `goprivate` | string | pattern for private go modules |
|
|
|
|
|
| `login` | string | login to access repository |
|
|
|
|
|
| `password` | string | password to access repository |
|