Compare commits

...

3 Commits

Author SHA1 Message Date
09933e1a69 update config
Some checks failed
Build and Push Docker Image / build (push) Failing after 33s
2026-04-19 14:10:17 +03:00
571231b164 update secret
Some checks failed
Build and Push Docker Image / build (push) Failing after 4m12s
2026-04-19 13:54:02 +03:00
43ef57f1b6 Merge pull request 'Add CI pipeline for Docker image builds' (#5) from staging into main
Some checks failed
Build and Push Docker Image / build (push) Failing after 20s
Reviewed-on: #5
2026-04-19 13:48:05 +03:00
6 changed files with 12 additions and 12 deletions

View File

@ -6,7 +6,7 @@ on:
tags: ["v*"]
env:
REGISTRY: gitea.tenhal.sa
REGISTRY: 10.10.1.132:3000
IMAGE_NAME: marwan/hh
jobs:
@ -24,7 +24,7 @@ jobs:
with:
registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Determine tags
id: meta

View File

@ -6,7 +6,7 @@ set -e
# ./build-and-push.sh staging
# ./build-and-push.sh v1.0.0
REGISTRY="gitea.tenhal.sa/marwan/hh"
REGISTRY="10.10.1.132:3000/marwan/hh"
TAG=${1:-staging}
echo "========================================"
@ -18,7 +18,7 @@ echo ""
echo "NOTE: CI normally handles this. Only use if CI is unavailable."
echo ""
docker login gitea.tenhal.sa
docker login 10.10.1.132:3000
echo ""
echo "[1/3] Building image..."

View File

@ -3,7 +3,7 @@ set -e
VERSION=${1:?Usage: ./deploy.prod.sh <version>}
IMAGE="gitea.tenhal.sa/marwan/hh:${VERSION}"
IMAGE="10.10.1.132:3000/marwan/hh:${VERSION}"
echo "========================================"
echo " PX360 Production Deploy"

View File

@ -2,7 +2,7 @@
set -e
VERSION=${1:-staging}
IMAGE="gitea.tenhal.sa/marwan/hh:${VERSION}"
IMAGE="10.10.1.132:3000/marwan/hh:${VERSION}"
echo "========================================"
echo " PX360 Staging Deploy"

View File

@ -24,7 +24,7 @@ services:
max-file: "3"
web:
image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:latest}
image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:latest}
container_name: px360_web
restart: unless-stopped
volumes:
@ -50,7 +50,7 @@ services:
max-file: "3"
celery:
image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:latest}
image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:latest}
container_name: px360_celery
restart: unless-stopped
command: celery -A config worker -l info --concurrency=4
@ -68,7 +68,7 @@ services:
max-file: "3"
celery-beat:
image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:latest}
image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:latest}
container_name: px360_celery_beat
restart: unless-stopped
command: celery -A config beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler

View File

@ -24,7 +24,7 @@ services:
max-file: "3"
web:
image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:staging}
image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:staging}
container_name: px360_web
restart: unless-stopped
volumes:
@ -56,7 +56,7 @@ services:
max-file: "3"
celery:
image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:staging}
image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:staging}
container_name: px360_celery
restart: unless-stopped
command: celery -A config worker -l info --concurrency=2
@ -78,7 +78,7 @@ services:
max-file: "3"
celery-beat:
image: ${PX360_IMAGE:-gitea.tenhal.sa/marwan/hh:staging}
image: ${PX360_IMAGE:-10.10.1.132:3000/marwan/hh:staging}
container_name: px360_celery_beat
restart: unless-stopped
command: celery -A config beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler