Switch gitea to git.strypsteen.com
All checks were successful
ShellCheck / shellcheck (push) Successful in 52s

This commit is contained in:
Mathieu Strypsteen 2023-11-23 21:19:04 +01:00
parent 70a634f02c
commit d0e54c015f
Signed by: mathieu
GPG key ID: 782A42E461BC6824
13 changed files with 15 additions and 34 deletions

View file

@ -1,5 +1,3 @@
docker:
git.strypsteen.me:
use-sigstore-attachments: true
quay.io:
git.strypsteen.com:
use-sigstore-attachments: true

View file

@ -4,8 +4,8 @@ DB_TYPE = sqlite3
[repository]
DEFAULT_BRANCH = master
[server]
DOMAIN = git.strypsteen.me
ROOT_URL = https://git.strypsteen.me/
DOMAIN = git.strypsteen.com
ROOT_URL = https://git.strypsteen.com/
OFFLINE_MODE = true
[service]
DISABLE_REGISTRATION = true

View file

@ -1,5 +1,5 @@
server {
server_name git.strypsteen.me;
server_name git.strypsteen.com;
listen 443 ssl;
listen [::]:443 ssl;
include snippets/headers.conf;

View file

@ -4,7 +4,7 @@
-
<a href="https://matrix.to/#/@mathieu:strypsteen.me">Matrix</a>
-
<a href="https://git.strypsteen.me/mathieu">Git</a>
<a href="https://git.strypsteen.com/mathieu">Git</a>
</p>
</footer>
</body>

View file

@ -2,11 +2,11 @@
set -e
cd "$(dirname "$0")"
podman rmi -af
if ! podman login --get-login git.strypsteen.me; then
podman login git.strypsteen.me --username mathieu
if ! podman login --get-login git.strypsteen.com; then
podman login git.strypsteen.com --username mathieu
fi
for container in */; do
container=${container%/}
id=$(podman build --no-cache --squash -q "$container")
echo | podman push --sign-by-sigstore-private-key ~/Documents/cosign.key "$id" git.strypsteen.me/mathieu/"$container"
echo | podman push --sign-by-sigstore-private-key ~/Documents/cosign.key "$id" git.strypsteen.com/mathieu/"$container"
done

View file

@ -1,5 +1,5 @@
[Container]
Image=git.strypsteen.me/mathieu/hostapd
Image=git.strypsteen.com/mathieu/hostapd
Network=host
User=5000
Group=5000

View file

@ -2,7 +2,7 @@
Wants=network-online.target
After=network-online.target
[Container]
Image=git.strypsteen.me/mathieu/monero
Image=git.strypsteen.com/mathieu/monero
UserNS=auto
Network=monero.network
Volume=monero.volume:/.bitmonero:U,Z

View file

@ -9,7 +9,7 @@ Volume=/var/lib/system-config/container-config/act-runner:/etc/act-runner:O
Volume=act-runner.volume:/data:U,Z
Tmpfs=/root/.cache
Environment=CONFIG_FILE=/etc/act-runner/config.yaml
Environment=GITEA_INSTANCE_URL=https://git.strypsteen.me
Environment=GITEA_INSTANCE_URL=https://git.strypsteen.com
Environment=GITEA_RUNNER_NAME=home
Environment=GITEA_RUNNER_LABELS=debian-12:docker://node:bookworm
Secret=GITEA_RUNNER_REGISTRATION_TOKEN,type=env

View file

@ -1,17 +0,0 @@
{
"default": [
{
"type": "insecureAcceptAnything"
}
],
"transports": {
"docker": {
"git.strypsteen.me": [
{
"type": "sigstoreSigned",
"keyPath": "/etc/cosign.pub"
}
]
}
}
}

View file

@ -6,7 +6,7 @@
],
"transports": {
"docker": {
"git.strypsteen.me": [
"git.strypsteen.com": [
{
"type": "sigstoreSigned",
"keyPath": "/etc/cosign.pub"

View file

@ -1,5 +1,5 @@
[Container]
Image=git.strypsteen.me/mathieu/certbot
Image=git.strypsteen.com/mathieu/certbot
Network=certbot.network
Volume=/etc/certificates:/etc/certificates:z
Tmpfs=/etc/letsencrypt

View file

@ -1,5 +1,5 @@
[Container]
Image=git.strypsteen.me/mathieu/dovecot
Image=git.strypsteen.com/mathieu/dovecot
UserNS=auto
Network=mail.network
Volume=/etc/certificates:/etc/certificates:z,ro

View file

@ -2,7 +2,7 @@
Requires=dovecot.service rspamd.service
After=dovecot.service rspamd.service
[Container]
Image=git.strypsteen.me/mathieu/postfix
Image=git.strypsteen.com/mathieu/postfix
UserNS=auto
Network=mail.network
Volume=/etc/certificates:/etc/certificates:z,ro