|
|
@ -60,12 +60,12 @@ steps: |
|
|
- name: 获取tag数据 |
|
|
- name: 获取tag数据 |
|
|
image: alpine/git:v2.36.2 |
|
|
image: alpine/git:v2.36.2 |
|
|
settings: |
|
|
settings: |
|
|
gitea_username: |
|
|
|
|
|
|
|
|
username: |
|
|
from_secret: gitea_username |
|
|
from_secret: gitea_username |
|
|
git_password: |
|
|
|
|
|
|
|
|
password: |
|
|
from_secret: gitea_password |
|
|
from_secret: gitea_password |
|
|
commands: |
|
|
commands: |
|
|
- echo "https://$git_username:$git_password@git.1000my.com" >> ~/.git-credentials |
|
|
|
|
|
|
|
|
- echo "https://$username:$password@git.1000my.com" >> ~/.git-credentials |
|
|
- cat ~/.git-credentials |
|
|
- cat ~/.git-credentials |
|
|
- git fetch --tags |
|
|
- git fetch --tags |
|
|
- git submodule init |
|
|
- git submodule init |
|
|
|