ci(workflow): add step to get Gitea config
- Add a new step to retrieve Gitea configuration - Print REGISTRY and DOCKER_TOKEN environment variables - Remove redundant 'Check out code' step
This commit is contained in:
parent
03094b95b7
commit
6a8112bb00
@ -23,11 +23,13 @@ jobs:
|
||||
packages: write
|
||||
|
||||
steps:
|
||||
- name: 获取 Gitea 配置
|
||||
run: |
|
||||
echo ${ env.REGISTRY }
|
||||
echo ${{ secrets.DOCKER_TOKEN }}
|
||||
|
||||
- name: 检出代码
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: http://113.44.68.213:3000/Havoc420
|
||||
ref: main
|
||||
|
||||
- name: 获取分支名称
|
||||
id: branch_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user