fix: update runner images to use nexus proxy port 8084
This commit is contained in:
+5
-7
@@ -3,20 +3,19 @@ stages:
|
||||
- deploy
|
||||
|
||||
variables:
|
||||
NEXUS_PULL_REGISTRY: "10.15.39.186:8083"
|
||||
NEXUS_PULL_REGISTRY: "10.15.39.186:8084"
|
||||
NEXUS_PUSH_REGISTRY: "10.15.39.186:8082"
|
||||
IMAGE_NAME: "eosbpkd/sidata"
|
||||
|
||||
build_image:
|
||||
stage: build
|
||||
# Tambahkan library/ untuk official image Docker Hub
|
||||
image: 10.15.39.186:8083/library/docker:24.0.5
|
||||
image: 10.15.39.186:8084/library/docker:24.0.5
|
||||
services:
|
||||
- name: 10.15.39.186:8083/library/docker:24.0.5-dind
|
||||
- name: 10.15.39.186:8084/library/docker:24.0.5-dind
|
||||
alias: docker
|
||||
command:
|
||||
- "--insecure-registry=10.15.39.186:8082"
|
||||
- "--insecure-registry=10.15.39.186:8083"
|
||||
- "--insecure-registry=10.15.39.186:8084"
|
||||
script:
|
||||
- echo "$NEXUS_PASSWORD" | docker login -u "$NEXUS_USERNAME" --password-stdin $NEXUS_PULL_REGISTRY
|
||||
- echo "$NEXUS_PASSWORD" | docker login -u "$NEXUS_USERNAME" --password-stdin $NEXUS_PUSH_REGISTRY
|
||||
@@ -30,8 +29,7 @@ build_image:
|
||||
|
||||
deploy_rancher:
|
||||
stage: deploy
|
||||
# Tambahkan library/ untuk official image Helm/Alpine
|
||||
image: 10.15.39.186:8083/library/alpine/helm:3.12.0
|
||||
image: 10.15.39.186:8084/library/alpine/helm:3.12.0
|
||||
script:
|
||||
- mkdir -p ~/.kube
|
||||
- echo "$KUBECONFIG_B64" | base64 -d > ~/.kube/config
|
||||
|
||||
Reference in New Issue
Block a user