34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
# Build and push the pdbmux container image on a v* tag. pdbmux is a k8s-only
|
|
# daemon (deployed via argocd-apps), so it ships as an image. Mirrors the estate
|
|
# convention: the CA-baked plugin-docker-buildx image pushes to the
|
|
# artifactapi local docker registry (unauthenticated in-cluster push).
|
|
when:
|
|
- event: tag
|
|
ref: refs/tags/v*
|
|
|
|
steps:
|
|
- name: docker
|
|
image: artifactapi.k8s.syd1.au.unkin.net/docker-internal/plugin-docker-buildx:latest
|
|
settings:
|
|
registry: artifactapi.k8s.syd1.au.unkin.net
|
|
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/pdbmux
|
|
dockerfile: Dockerfile
|
|
buildkit_config: |
|
|
[registry."artifactapi.k8s.syd1.au.unkin.net"]
|
|
ca = ["/etc/docker/certs.d/artifactapi.k8s.syd1.au.unkin.net/ca.crt"]
|
|
build_args:
|
|
VERSION: ${CI_COMMIT_TAG}
|
|
tags:
|
|
- ${CI_COMMIT_TAG}
|
|
- latest
|
|
backend_options:
|
|
kubernetes:
|
|
serviceAccountName: default
|
|
resources:
|
|
requests:
|
|
memory: 1Gi
|
|
cpu: 1
|
|
limits:
|
|
memory: 2Gi
|
|
cpu: 2
|