This repository is mirroring the latest supported Go version from https://go.dev/dl/ into bucket.
- Go 87.9%
- Shell 9.5%
- Dockerfile 2.6%
|
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/tag/release Pipeline was successful
ci/woodpecker/cron/vulnerability Pipeline was successful
ci/woodpecker/cron/renovate Pipeline was successful
ci/woodpecker/cron/auto_merge Pipeline was successful
ci/woodpecker/cron/download Pipeline was successful
Merged automatically |
||
|---|---|---|
| internal | ||
| .gitignore | ||
| .goreleaser.yaml | ||
| .markdownlint.json | ||
| .prettierrc | ||
| Containerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
| renovate.json | ||
| test.sh | ||
Mirror for Go language
This repository contains code that mirrors:
- The latest supported Go versions from https://go.dev/dl/.
- The
golangci-linutility from https://github.com/golangci/golangci-lint. - The
goreleaserutility from https://github.com/goreleaser/goreleaser.
The function can be called from Woodpecker CI via workflow.
The uploaded Go version later downloaded in Woodpecker CI plugins.
Usage
It can be used at any event, but the best maybe via cron in planned times.
when:
event: [manual, cron]
cron: "download"
steps:
- name: Scrap latest Go versions
image: code.thinkaboutit.tech/pandora/go.mirror
settings:
s3_access_key:
from_secret: s3-access-key
s3_secret_key:
from_secret: s3-secret-key
s3_bucket: my_bucket
debug: true
Settings
| Name | Default value | Description |
|---|---|---|
| s3_access_key | Access key for s3 | |
| s3_secret_key | Secret key for s3 | |
| s3_url | https://s3.de.io.cloud.ovh.net | URL for s3 |
| s3_region | de | Region of S3 |
| s3_bucket | Name of the bucket |