chore: git.pihkaal.xyz -> git.pihkaal.me
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
PORT="3000"
|
PORT="3000"
|
||||||
# Gitea base url (like https://git.pihkaal.xyz)
|
# Gitea base url (like https://git.pihkaal.me)
|
||||||
GITEA_URL=""
|
GITEA_URL=""
|
||||||
# Gitea main username (for me it's pihkaal)
|
# Gitea main username (for me it's pihkaal)
|
||||||
GITEA_USERNAME=""
|
GITEA_USERNAME=""
|
||||||
|
|||||||
@@ -19,11 +19,11 @@ jobs:
|
|||||||
- name: Log in to Gitea Container Registry
|
- name: Log in to Gitea Container Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.pihkaal.xyz
|
registry: git.pihkaal.me
|
||||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
run: |
|
run: |
|
||||||
docker build -t git.pihkaal.xyz/pihkaal/gitea-auto-urls:latest .
|
docker build -t git.pihkaal.me/pihkaal/gitea-auto-urls:latest .
|
||||||
docker push git.pihkaal.xyz/pihkaal/gitea-auto-urls:latest
|
docker push git.pihkaal.me/pihkaal/gitea-auto-urls:latest
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Automatically generates Traefik middleware to shorten Gitea repository URLs.
|
|||||||
|
|
||||||
## Purpose
|
## Purpose
|
||||||
|
|
||||||
Removes the username from single-user Gitea instances: `https://git.pihkaal.xyz/pihkaal/repo-name` → `https://git.pihkaal.xyz/repo-name`.
|
Removes the username from single-user Gitea instances: `https://git.pihkaal.me/pihkaal/repo-name` → `https://git.pihkaal.me/repo-name`.
|
||||||
Note that this will work only if you have a single user on Gitea, this is not meant to be used with multiple users. This projects is done based on my needs.
|
Note that this will work only if you have a single user on Gitea, this is not meant to be used with multiple users. This projects is done based on my needs.
|
||||||
|
|
||||||
## How it works
|
## How it works
|
||||||
@@ -41,7 +41,7 @@ You can add this to your gitea stack:
|
|||||||
services:
|
services:
|
||||||
# ...
|
# ...
|
||||||
auto-urls:
|
auto-urls:
|
||||||
image: git.pihkaal.xyz/pihkaal/gitea-auto-urls:latest
|
image: git.pihkaal.me/pihkaal/gitea-auto-urls:latest
|
||||||
container_name: gitea-auto-urls
|
container_name: gitea-auto-urls
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user