diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29957bb..ad79789 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,9 +7,10 @@ build-dev: when: on_success only: - main - image: docker:stable + image: + name: docker:25.0.3-cli services: - - name: docker:dind + - name: docker:25.0.3-dind command: ["--insecure-registry=103.82.242.92:8900"] script: - docker logout @@ -26,4 +27,4 @@ auto-deploy: services: - docker:dind script: - - curl --user admin:$JENKINS_PWD http://38.47.180.165:8080/job/auto-deploy-info-kreasi/build?token=autodeploymedols + - curl --user admin:$JENKINS_PWD http://103.31.38.120:8080/job/auto-deploy-info-kreasi/build?token=autodeploymedols diff --git a/components/details/details-content.tsx b/components/details/details-content.tsx index 802b622..c58c3b4 100644 --- a/components/details/details-content.tsx +++ b/components/details/details-content.tsx @@ -312,7 +312,7 @@ export default function DetailContent() { close(); } - if (!articleDetail?.files || articleDetail.files.length === 0) { + if (!articleDetail?.files || articleDetail?.files.length === 0) { return (

Gambar tidak tersedia

@@ -373,8 +373,8 @@ export default function DetailContent() { {/* Gambar utama */}