chore(ci): move to stoatchat

This commit is contained in:
Zomatree
2025-10-11 23:22:41 +01:00
parent d65c1a1ab3
commit af78ac0586
11 changed files with 25 additions and 25 deletions

View File

@@ -73,7 +73,7 @@ jobs:
if: github.event_name != 'pull_request' && github.ref_name == 'main' if: github.event_name != 'pull_request' && github.ref_name == 'main'
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
repository: revoltchat/api repository: stoatchat/api
path: api path: api
token: ${{ secrets.PAT }} token: ${{ secrets.PAT }}

View File

@@ -14,7 +14,7 @@ jobs:
run: | run: |
gh api graphql -f query=' gh api graphql -f query='
query { query {
organization(login: "revoltchat"){ organization(login: "stoatchat"){
projectV2(number: 3) { projectV2(number: 3) {
id id
fields(first:20) { fields(first:20) {

View File

@@ -14,7 +14,7 @@ jobs:
run: | run: |
gh api graphql -f query=' gh api graphql -f query='
query { query {
organization(login: "revoltchat"){ organization(login: "stoatchat"){
projectV2(number: 5) { projectV2(number: 5) {
id id
fields(first:20) { fields(first:20) {

View File

@@ -1,5 +1,5 @@
# Build Stage # Build Stage
FROM ghcr.io/revoltchat/base:latest AS builder FROM ghcr.io/stoatchat/base:latest AS builder
FROM debian:12 AS debian FROM debian:12 AS debian
# Bundle Stage # Bundle Stage

View File

@@ -1,5 +1,5 @@
# Build Stage # Build Stage
FROM ghcr.io/revoltchat/base:latest AS builder FROM ghcr.io/stoatchat/base:latest AS builder
FROM debian:12 AS debian FROM debian:12 AS debian
# Bundle Stage # Bundle Stage

View File

@@ -1,5 +1,5 @@
# Build Stage # Build Stage
FROM ghcr.io/revoltchat/base:latest AS builder FROM ghcr.io/stoatchat/base:latest AS builder
FROM debian:12 AS debian FROM debian:12 AS debian
# Bundle Stage # Bundle Stage

View File

@@ -1,5 +1,5 @@
# Build Stage # Build Stage
FROM ghcr.io/revoltchat/base:latest AS builder FROM ghcr.io/stoatchat/base:latest AS builder
FROM debian:12 AS debian FROM debian:12 AS debian
# Bundle Stage # Bundle Stage

View File

@@ -1,5 +1,5 @@
# Build Stage # Build Stage
FROM ghcr.io/revoltchat/base:latest AS builder FROM ghcr.io/stoatchat/base:latest AS builder
FROM debian:12 AS debian FROM debian:12 AS debian
# Bundle Stage # Bundle Stage

View File

@@ -1,5 +1,5 @@
# Build Stage # Build Stage
FROM ghcr.io/revoltchat/base:latest AS builder FROM ghcr.io/stoatchat/base:latest AS builder
# Bundle Stage # Bundle Stage
FROM gcr.io/distroless/cc-debian12:nonroot FROM gcr.io/distroless/cc-debian12:nonroot

View File

@@ -1,5 +1,5 @@
# Build Stage # Build Stage
FROM ghcr.io/revoltchat/base:latest AS builder FROM ghcr.io/stoatchat/base:latest AS builder
FROM debian:12 AS debian FROM debian:12 AS debian
# Bundle Stage # Bundle Stage

View File

@@ -20,23 +20,23 @@ fi
TAG=$1-debug TAG=$1-debug
echo "Building images, will tag for ghcr.io with $TAG!" echo "Building images, will tag for ghcr.io with $TAG!"
docker build -t ghcr.io/revoltchat/base:latest -f Dockerfile.useCurrentArch . docker build -t ghcr.io/stoatchat/base:latest -f Dockerfile.useCurrentArch .
docker build -t ghcr.io/revoltchat/server:$TAG - < crates/delta/Dockerfile docker build -t ghcr.io/stoatchat/server:$TAG - < crates/delta/Dockerfile
docker build -t ghcr.io/revoltchat/bonfire:$TAG - < crates/bonfire/Dockerfile docker build -t ghcr.io/stoatchat/bonfire:$TAG - < crates/bonfire/Dockerfile
docker build -t ghcr.io/revoltchat/autumn:$TAG - < crates/services/autumn/Dockerfile docker build -t ghcr.io/stoatchat/autumn:$TAG - < crates/services/autumn/Dockerfile
docker build -t ghcr.io/revoltchat/january:$TAG - < crates/services/january/Dockerfile docker build -t ghcr.io/stoatchat/january:$TAG - < crates/services/january/Dockerfile
docker build -t ghcr.io/revoltchat/gifbox:$TAG - < crates/services/gifbox/Dockerfile docker build -t ghcr.io/stoatchat/gifbox:$TAG - < crates/services/gifbox/Dockerfile
docker build -t ghcr.io/revoltchat/crond:$TAG - < crates/daemons/crond/Dockerfile docker build -t ghcr.io/stoatchat/crond:$TAG - < crates/daemons/crond/Dockerfile
docker build -t ghcr.io/revoltchat/pushd:$TAG - < crates/daemons/pushd/Dockerfile docker build -t ghcr.io/stoatchat/pushd:$TAG - < crates/daemons/pushd/Dockerfile
if [ "$DEBUG" = "true" ]; then if [ "$DEBUG" = "true" ]; then
git restore Cargo.toml git restore Cargo.toml
fi fi
docker push ghcr.io/revoltchat/server:$TAG docker push ghcr.io/stoatchat/server:$TAG
docker push ghcr.io/revoltchat/bonfire:$TAG docker push ghcr.io/stoatchat/bonfire:$TAG
docker push ghcr.io/revoltchat/autumn:$TAG docker push ghcr.io/stoatchat/autumn:$TAG
docker push ghcr.io/revoltchat/january:$TAG docker push ghcr.io/stoatchat/january:$TAG
docker push ghcr.io/revoltchat/gifbox:$TAG docker push ghcr.io/stoatchat/gifbox:$TAG
docker push ghcr.io/revoltchat/crond:$TAG docker push ghcr.io/stoatchat/crond:$TAG
docker push ghcr.io/revoltchat/pushd:$TAG docker push ghcr.io/stoatchat/pushd:$TAG