Skip to content

Commit

Permalink
build: add docker login for k8s_build
Browse files Browse the repository at this point in the history
  • Loading branch information
sfwn committed Feb 29, 2024
1 parent de6266f commit adb8248
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function local_build_func() {
}

function k8s_build_func() {
docker login -u "${DOCKER_REGISTRY_USERNAME}" -p "${DOCKER_REGISTRY_PASSWORD}" "${DOCKER_REGISTRY}"
buildctl --addr tcp://buildkitd.default.svc.cluster.local:1234 \
--tlscacert=/.buildkit/ca.pem \
--tlscert=/.buildkit/cert.pem \
Expand Down

0 comments on commit adb8248

Please sign in to comment.