ci: push images to artifactapi registry instead of gitea
Hard switch of the docker push target from the Gitea registry to the artifactapi local docker registry (docker-internal); the Gitea VM and its registry are being retired. Drops the droneci/DRONECI_PASSWORD creds since artifactapi accepts unauthenticated in-cluster pushes. Also updates the README push note (covers bind-operator + bind-tsig-api). Claude-Session: https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv
This commit is contained in:
@@ -5,13 +5,13 @@ steps:
|
||||
- name: docker-build-operator
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: git.unkin.net/unkin/bind-operator
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/bind-operator
|
||||
dockerfile: Dockerfile.operator
|
||||
dry_run: true
|
||||
|
||||
- name: docker-build-tsig-api
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: git.unkin.net/unkin/bind-tsig-api
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/bind-tsig-api
|
||||
dockerfile: Dockerfile.tsigapi
|
||||
dry_run: true
|
||||
|
||||
+4
-10
@@ -6,12 +6,9 @@ steps:
|
||||
- name: docker-operator
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: git.unkin.net
|
||||
repo: git.unkin.net/unkin/bind-operator
|
||||
registry: artifactapi.k8s.syd1.au.unkin.net
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/bind-operator
|
||||
dockerfile: Dockerfile.operator
|
||||
username: droneci
|
||||
password:
|
||||
from_secret: DRONECI_PASSWORD
|
||||
tags:
|
||||
- ${CI_COMMIT_TAG}
|
||||
- latest
|
||||
@@ -19,12 +16,9 @@ steps:
|
||||
- name: docker-tsig-api
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: git.unkin.net
|
||||
repo: git.unkin.net/unkin/bind-tsig-api
|
||||
registry: artifactapi.k8s.syd1.au.unkin.net
|
||||
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/bind-tsig-api
|
||||
dockerfile: Dockerfile.tsigapi
|
||||
username: droneci
|
||||
password:
|
||||
from_secret: DRONECI_PASSWORD
|
||||
tags:
|
||||
- ${CI_COMMIT_TAG}
|
||||
- latest
|
||||
|
||||
@@ -85,7 +85,8 @@ kubectl apply -f config/samples/
|
||||
|
||||
Woodpecker runs `pre-commit` (gofmt + vet), `test`, and a dry-run image `build`
|
||||
on pull requests; pushing a `v*` tag builds and pushes
|
||||
`git.unkin.net/unkin/bind-operator` to the Gitea registry.
|
||||
`artifactapi.k8s.syd1.au.unkin.net/docker-internal/bind-operator` (and
|
||||
`bind-tsig-api`) to the artifactapi local docker registry.
|
||||
|
||||
## Notes & caveats
|
||||
|
||||
|
||||
Reference in New Issue
Block a user