Build and push app
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
dvirlabs 2026-04-12 23:56:02 +03:00
parent 6ca299c347
commit 914cf774b3
3 changed files with 11 additions and 9 deletions

View File

@ -9,7 +9,7 @@ steps:
include: [ frontend/** ]
settings:
registry: harbor.dvirlabs.com
repo: my-apps/${CI_REPO_NAME}-frontend
repo: harbor.dvirlabs.com/my-apps/${CI_REPO_NAME}-frontend
dockerfile: frontend/Dockerfile
context: frontend
tags:
@ -19,9 +19,9 @@ steps:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
skip_tls_verify: "true"
custom_args:
- --skip-tls-verify-pull
insecure: true
skip_tls_verify: true
verbosity: debug
build-backend:
name: Build & Push Backend
@ -32,8 +32,8 @@ steps:
path:
include: [ backend/** ]
settings:
registry: harbor-core.dev-tools.svc.cluster.local
repo: my-apps/${CI_REPO_NAME}-backend
registry: harbor.dvirlabs.com
repo: harbor.dvirlabs.com/my-apps/${CI_REPO_NAME}-backend
dockerfile: backend/Dockerfile
context: backend
tags:
@ -43,9 +43,9 @@ steps:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
skip_tls_verify: "true"
custom_args:
- --skip-tls-verify-pull
insecure: true
skip_tls_verify: true
verbosity: debug
update-values-frontend:
name: Update frontend tag in values.yaml

View File

@ -27,3 +27,4 @@ ENV PYTHONUNBUFFERED=1
# Run the application
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]

View File

@ -74,3 +74,4 @@ EXPOSE 80
# Start nginx with entrypoint
CMD ["/docker-entrypoint.sh"]