Remove 'lure-' prefix from subdirectories

This commit is contained in:
Elara 2023-09-26 15:32:46 -07:00
parent e5b9294f93
commit 185371b649
48 changed files with 14 additions and 14 deletions

View File

@ -15,14 +15,14 @@ steps:
publish-frontend:
image: gitea.elara.ws/elara6331/crane
secrets: [ registry_password ]
directory: lure-frontend
commands:
- export HOME=/home/nonroot
- crane auth login gitea.elara.ws -u Elara6331 -p "$${REGISTRY_PASSWORD}"
- crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/elara6331/lure-web:amd64 --platform=linux/amd64
- crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/elara6331/lure-web:arm64 --platform=linux/arm64
- crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/elara6331/lure-web:riscv64 --platform=linux/riscv64
- crane index append -m gitea.elara.ws/elara6331/lure-web:amd64 -m gitea.elara.ws/elara6331/lure-web:arm64 -m gitea.elara.ws/elara6331/lure-web:riscv64 -t gitea.elara.ws/elara6331/lure-web:latest
- crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/lure/frontend:amd64 --platform=linux/amd64
- crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/lure/frontend:arm64 --platform=linux/arm64
- crane append -b gitea.elara.ws/elara6331/node -f app.tar.gz -t gitea.elara.ws/lure/frontend:riscv64 --platform=linux/riscv64
- crane index append -m gitea.elara.ws/lure/frontend:amd64 -m gitea.elara.ws/lure/frontend:arm64 -m gitea.elara.ws/lure/frontend:riscv64 -t gitea.elara.ws/lure/frontend:latest
build-backend:
image: gitea.elara.ws/elara6331/builder
@ -34,7 +34,7 @@ steps:
environment:
- REGISTRY=gitea.elara.ws
- REGISTRY_USERNAME=Elara6331
- KO_DOCKER_REPO=gitea.elara.ws/elara6331
- KO_DOCKER_REPO=gitea.elara.ws/lure
- KO_DEFAULTBASEIMAGE=gitea.elara.ws/elara6331/static
deploy:

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -14,7 +14,7 @@ job "lure-web" {
}
}
task "lure-backend" {
task "backend" {
driver = "docker"
env {
@ -26,7 +26,7 @@ job "lure-web" {
}
config {
image = "gitea.elara.ws/elara6331/lure-backend:latest"
image = "gitea.elara.ws/lure/backend:latest"
ports = ["api"]
}
@ -35,8 +35,8 @@ job "lure-web" {
port = "api"
tags = [
"traefik.enable=true",
"traefik.http.routers.lure-api-server.rule=Host(`api.lure.elara.ws`)",
"traefik.http.routers.lure-api-server.tls.certresolver=letsencrypt"
"traefik.http.routers.lure-backend.rule=Host(`api.lure.elara.ws`)",
"traefik.http.routers.lure-backend.tls.certresolver=letsencrypt"
]
check {
@ -48,11 +48,11 @@ job "lure-web" {
}
}
task "lure-web" {
task "frontend" {
driver = "docker"
config {
image = "gitea.elara.ws/elara6331/lure-web:latest"
image = "gitea.elara.ws/lure/frontend:latest"
ports = ["http"]
args = ["build"]
}
@ -63,8 +63,8 @@ job "lure-web" {
port = "http"
tags = [
"traefik.enable=true",
"traefik.http.routers.lure-web.rule=Host(`lure.elara.ws`)",
"traefik.http.routers.lure-web.tls.certresolver=letsencrypt",
"traefik.http.routers.lure-frontend.rule=Host(`lure.elara.ws`)",
"traefik.http.routers.lure-frontend.tls.certresolver=letsencrypt",
]
}
}