This commit is contained in:
sajjad talkhabi
2025-03-06 16:13:22 +03:30
parent 553a354f2f
commit 86956ee859
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -9,7 +9,7 @@ clone:
# npm config set _auth token add command # npm config set _auth token add command
steps: steps:
- name: clone - name: clone
image: docker.willaspace.com/repository/docker-hosted/alpine/git image: docker.meshkee.com/repository/docker-hosted/alpine/git
commands: commands:
- git clone $DRONE_GIT_HTTP_URL . - git clone $DRONE_GIT_HTTP_URL .
- git checkout $DRONE_COMMIT - git checkout $DRONE_COMMIT
@@ -26,8 +26,8 @@ steps:
- latest - latest
- v.${DRONE_BUILD_NUMBER} - v.${DRONE_BUILD_NUMBER}
dockerfile: Dockerfile dockerfile: Dockerfile
registry: docker.willaspace.com registry: docker.meshkee.com
repo: docker.willaspace.com/repository/docker-hosted/cssd/cssd-front repo: docker.meshkee.com/repository/docker-hosted/cssd/cssd-front
build_args_from_env: build_args_from_env:
- REGISTRY_TOKEN - REGISTRY_TOKEN
- REGISTRY_PROXY - REGISTRY_PROXY
@@ -41,7 +41,7 @@ steps:
# # Define deploy step using Helm chart # # Define deploy step using Helm chart
- name: deploy - name: deploy
image: docker.willaspace.com/repository/docker-hosted/pelotech/drone-helm3:latest image: docker.meshkee.com/repository/docker-hosted/pelotech/drone-helm3:latest
environment: environment:
USERNAME: USERNAME:
from_secret: registry_username from_secret: registry_username
@@ -59,7 +59,7 @@ steps:
release: cssd-front release: cssd-front
namespace: cssd namespace: cssd
add_repos: add_repos:
- willaspace=https://$USERNAME:$PASSWORD@repo.willaspace.com/repository/willaspace-charts/ - willaspace=https://$USERNAME:$PASSWORD@repo.meshkee.com/repository/willaspace-charts/
values_files: values_files:
- .values.yaml - .values.yaml
values: values:
+1 -1
View File
@@ -67,7 +67,7 @@ deployment:
# Image of the app container # Image of the app container
image: image:
repository: docker.willaspace.com/repository/docker-hosted/cssd/cssd-front repository: docker.meshkee.com/repository/docker-hosted/cssd/cssd-front
tag: 'latest' tag: 'latest'
digest: '' # if set to a non empty value, digest takes precedence on the tag digest: '' # if set to a non empty value, digest takes precedence on the tag
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
+1 -1
View File
@@ -1,4 +1,4 @@
FROM docker.willaspace.com/repository/docker-hosted/node:14 as build-stage FROM docker.meshkee.com/repository/docker-hosted/node:14 as build-stage
ARG REGISTRY_TOKEN ARG REGISTRY_TOKEN