From 1e174d2b674bc995c044e3983fd0efed41206c0c Mon Sep 17 00:00:00 2001 From: Suchin Sapphasitthatha Date: Wed, 22 Jan 2025 08:12:16 +0000 Subject: [PATCH] edit CI for PROD --- .onedev-buildspec.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml index c4f55fb9..b29e83d2 100644 --- a/.onedev-buildspec.yml +++ b/.onedev-buildspec.yml @@ -90,7 +90,11 @@ jobs: name: build docker image dockerfile: ./docker/Dockerfile output: !RegistryOutput - tags: 172.27.17.68:6610/bma-hrms/hrms-manual:@build_version@ 172.27.17.68:6610/bma-hrms/hrms-manual:latest + tags: hrms-git.chin.in.th/bma-hrms/hrms-manual:@build_version@ hrms-git.chin.in.th/bma-hrms/hrms-manual:latest + registryLogins: + - registryUrl: hrms-git.chin.in.th + userName: chin + passwordSecret: hrms-git.chin.in.th_password condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL triggers: - !TagCreateTrigger