Publish images to artifactapi docker-internal
This commit is contained in:
@@ -15,7 +15,7 @@ steps:
|
||||
memory: 2Gi
|
||||
cpu: "2"
|
||||
settings:
|
||||
repo: git.unkin.net/unkin/kea-operator
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/kea-operator
|
||||
dockerfile: Dockerfile.operator
|
||||
dry_run: true
|
||||
|
||||
@@ -32,6 +32,6 @@ steps:
|
||||
memory: 2Gi
|
||||
cpu: "2"
|
||||
settings:
|
||||
repo: git.unkin.net/unkin/kea-api
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/kea-api
|
||||
dockerfile: Dockerfile.api
|
||||
dry_run: true
|
||||
|
||||
+9
-18
@@ -4,7 +4,7 @@ when:
|
||||
|
||||
steps:
|
||||
- name: publish-operator
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
image: artifactapi.k8s.syd1.au.unkin.net/docker-internal/plugin-docker-buildx:latest
|
||||
backend_options:
|
||||
kubernetes:
|
||||
serviceAccountName: kea-operator-ci
|
||||
@@ -16,18 +16,15 @@ steps:
|
||||
memory: 2Gi
|
||||
cpu: "2"
|
||||
settings:
|
||||
registry: git.unkin.net
|
||||
repo: git.unkin.net/unkin/kea-operator
|
||||
registry: artifactapi.k8s.syd1.au.unkin.net
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/kea-operator
|
||||
dockerfile: Dockerfile.operator
|
||||
username: droneci
|
||||
password:
|
||||
from_secret: DRONECI_PASSWORD
|
||||
tags:
|
||||
- ${CI_COMMIT_TAG}
|
||||
- latest
|
||||
|
||||
- name: publish-api
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
image: artifactapi.k8s.syd1.au.unkin.net/docker-internal/plugin-docker-buildx:latest
|
||||
backend_options:
|
||||
kubernetes:
|
||||
serviceAccountName: kea-operator-ci
|
||||
@@ -39,18 +36,15 @@ steps:
|
||||
memory: 2Gi
|
||||
cpu: "2"
|
||||
settings:
|
||||
registry: git.unkin.net
|
||||
repo: git.unkin.net/unkin/kea-api
|
||||
registry: artifactapi.k8s.syd1.au.unkin.net
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/kea-api
|
||||
dockerfile: Dockerfile.api
|
||||
username: droneci
|
||||
password:
|
||||
from_secret: DRONECI_PASSWORD
|
||||
tags:
|
||||
- ${CI_COMMIT_TAG}
|
||||
- latest
|
||||
|
||||
- name: publish-kea
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
image: artifactapi.k8s.syd1.au.unkin.net/docker-internal/plugin-docker-buildx:latest
|
||||
backend_options:
|
||||
kubernetes:
|
||||
serviceAccountName: kea-operator-ci
|
||||
@@ -62,12 +56,9 @@ steps:
|
||||
memory: 2Gi
|
||||
cpu: "2"
|
||||
settings:
|
||||
registry: git.unkin.net
|
||||
repo: git.unkin.net/unkin/kea
|
||||
registry: artifactapi.k8s.syd1.au.unkin.net
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/kea
|
||||
dockerfile: Dockerfile.kea
|
||||
username: droneci
|
||||
password:
|
||||
from_secret: DRONECI_PASSWORD
|
||||
tags:
|
||||
- ${CI_COMMIT_TAG}
|
||||
- latest
|
||||
|
||||
@@ -10,7 +10,7 @@ metadata:
|
||||
namespace: dhcp-system
|
||||
spec:
|
||||
replicas: 2
|
||||
image: git.unkin.net/unkin/kea:latest
|
||||
image: artifactapi.k8s.syd1.au.unkin.net/docker-internal/kea:latest
|
||||
domainName: main.unkin.net
|
||||
defaultLeaseTime: 1200
|
||||
maxLeaseTime: 86400
|
||||
|
||||
@@ -8,7 +8,7 @@ metadata:
|
||||
namespace: dhcp-system
|
||||
spec:
|
||||
replicas: 1
|
||||
image: git.unkin.net/unkin/kea-api:latest
|
||||
image: artifactapi.k8s.syd1.au.unkin.net/docker-internal/kea-api:latest
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8080
|
||||
|
||||
@@ -35,8 +35,8 @@ const (
|
||||
|
||||
finalizer = "kea.unkin.net/finalizer"
|
||||
|
||||
defaultOperatorImage = "git.unkin.net/unkin/kea-operator:latest"
|
||||
defaultAPIImage = "git.unkin.net/unkin/kea-api:latest"
|
||||
defaultOperatorImage = "artifactapi.k8s.syd1.au.unkin.net/docker-internal/kea-operator:latest"
|
||||
defaultAPIImage = "artifactapi.k8s.syd1.au.unkin.net/docker-internal/kea-api:latest"
|
||||
)
|
||||
|
||||
func headlessName(cluster string) string { return cluster + "-headless" }
|
||||
|
||||
@@ -47,7 +47,7 @@ const (
|
||||
DHCP4Port = 67
|
||||
|
||||
// DefaultImage is the kea workload image built by this repo.
|
||||
DefaultImage = "git.unkin.net/unkin/kea:latest"
|
||||
DefaultImage = "artifactapi.k8s.syd1.au.unkin.net/docker-internal/kea:latest"
|
||||
|
||||
// ClientArchOption is the DHCP option code carrying PXE client arch.
|
||||
ClientArchOption = 93
|
||||
|
||||
Reference in New Issue
Block a user