ci: переключить origin и registry на git.shx.one
Обновить Gitea Actions, compose и URL репозитория. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -23,7 +23,7 @@ jobs:
|
||||
- name: Login to Gitea Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.shts.su
|
||||
registry: git.shx.one
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.ACTIONS_PAT }}
|
||||
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: git.shts.su/${{ steps.image.outputs.repo }}
|
||||
images: git.shx.one/${{ steps.image.outputs.repo }}
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
type=raw,value=latest,enable=${{ gitea.ref_name == 'main' }}
|
||||
@@ -64,8 +64,8 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
NODE_VERSION=22.23.0-bookworm-slim
|
||||
cache-from: type=registry,ref=git.shts.su/${{ steps.image.outputs.repo }}:buildcache
|
||||
cache-to: type=registry,ref=git.shts.su/${{ steps.image.outputs.repo }}:buildcache,mode=max
|
||||
cache-from: type=registry,ref=git.shx.one/${{ steps.image.outputs.repo }}:buildcache
|
||||
cache-to: type=registry,ref=git.shx.one/${{ steps.image.outputs.repo }}:buildcache,mode=max
|
||||
provenance: true
|
||||
|
||||
create-release:
|
||||
@@ -96,5 +96,5 @@ jobs:
|
||||
curl -X POST \
|
||||
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
"https://git.shts.su/api/v1/repos/${{ gitea.repository }}/releases" \
|
||||
"https://git.shx.one/api/v1/repos/${{ gitea.repository }}/releases" \
|
||||
-d "{\"tag_name\":\"${{ gitea.ref_name }}\",\"name\":\"${{ gitea.ref_name }}\",\"body\":$(echo '${{ steps.changelog.outputs.CHANGELOG }}' | jq -Rs .)}"
|
||||
|
||||
@@ -36,4 +36,4 @@ Skill: `.claude/skills/reui` (`668fb463eb`).
|
||||
|
||||
## Git
|
||||
|
||||
`origin` → https://git.shts.su/denozord/EvoFirewall.git
|
||||
`origin` → https://git.shx.one/denozord/EvoFirewall.git
|
||||
|
||||
@@ -49,5 +49,5 @@ curl -fsSL http://localhost:8080/v1/agent/install.sh | \
|
||||
## Git
|
||||
|
||||
```
|
||||
origin https://git.shts.su/denozord/EvoFirewall.git
|
||||
origin https://git.shx.one/denozord/EvoFirewall.git
|
||||
```
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
evofirewall:
|
||||
image: git.shts.su/denozord/evofirewall:latest
|
||||
image: git.shx.one/denozord/evofirewall:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DATABASE_URL: sqlite:/data/app.db
|
||||
|
||||
Reference in New Issue
Block a user