mirror of
https://tvoygit.ru/Djam/artmigrator.git
synced 2025-02-23 10:22:45 +00:00
Add Dockerfile, rewrite source
This commit is contained in:
parent
520f3ddaf2
commit
a9bbbf458c
2 changed files with 26 additions and 0 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -21,3 +21,9 @@
|
|||
# Go workspace file
|
||||
go.work
|
||||
|
||||
#
|
||||
|
||||
.env
|
||||
*~
|
||||
.*~
|
||||
config.yaml
|
||||
|
|
20
README.md
20
README.md
|
@ -2,3 +2,23 @@
|
|||
|
||||
Миграция артефактов между разичными репозиториями.
|
||||
Базовый вариант между nexus > gitea
|
||||
|
||||
|
||||
## Пример использования
|
||||
|
||||
`go run main.go -config=config.yaml`
|
||||
|
||||
`go run main.go -config=config.yaml -nexus-url=https://new-nexus.example.com -gitea-token=new-gitea-token`
|
||||
|
||||
## Пример конфига
|
||||
|
||||
```yaml
|
||||
nexus:
|
||||
url: "https://nexus.example.com"
|
||||
username: "your-nexus-username"
|
||||
password: "your-nexus-password"
|
||||
|
||||
gitea:
|
||||
url: "https://gitea.example.com"
|
||||
token: "your-gitea-token"
|
||||
```
|
Loading…
Add table
Reference in a new issue