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
|
- name: docker-build-operator
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: git.unkin.net/unkin/bind-operator
|
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/bind-operator
|
||||||
dockerfile: Dockerfile.operator
|
dockerfile: Dockerfile.operator
|
||||||
dry_run: true
|
dry_run: true
|
||||||
|
|
||||||
- name: docker-build-tsig-api
|
- name: docker-build-tsig-api
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: git.unkin.net/unkin/bind-tsig-api
|
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/bind-tsig-api
|
||||||
dockerfile: Dockerfile.tsigapi
|
dockerfile: Dockerfile.tsigapi
|
||||||
dry_run: true
|
dry_run: true
|
||||||
|
|||||||
+4
-10
@@ -6,12 +6,9 @@ steps:
|
|||||||
- name: docker-operator
|
- name: docker-operator
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
registry: git.unkin.net
|
registry: artifactapi.k8s.syd1.au.unkin.net
|
||||||
repo: git.unkin.net/unkin/bind-operator
|
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/bind-operator
|
||||||
dockerfile: Dockerfile.operator
|
dockerfile: Dockerfile.operator
|
||||||
username: droneci
|
|
||||||
password:
|
|
||||||
from_secret: DRONECI_PASSWORD
|
|
||||||
tags:
|
tags:
|
||||||
- ${CI_COMMIT_TAG}
|
- ${CI_COMMIT_TAG}
|
||||||
- latest
|
- latest
|
||||||
@@ -19,12 +16,9 @@ steps:
|
|||||||
- name: docker-tsig-api
|
- name: docker-tsig-api
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
registry: git.unkin.net
|
registry: artifactapi.k8s.syd1.au.unkin.net
|
||||||
repo: git.unkin.net/unkin/bind-tsig-api
|
repo: artifactapi.k8s.syd1.au.unkin.net/docker-internal/bind-tsig-api
|
||||||
dockerfile: Dockerfile.tsigapi
|
dockerfile: Dockerfile.tsigapi
|
||||||
username: droneci
|
|
||||||
password:
|
|
||||||
from_secret: DRONECI_PASSWORD
|
|
||||||
tags:
|
tags:
|
||||||
- ${CI_COMMIT_TAG}
|
- ${CI_COMMIT_TAG}
|
||||||
- latest
|
- latest
|
||||||
|
|||||||
@@ -85,7 +85,8 @@ kubectl apply -f config/samples/
|
|||||||
|
|
||||||
Woodpecker runs `pre-commit` (gofmt + vet), `test`, and a dry-run image `build`
|
Woodpecker runs `pre-commit` (gofmt + vet), `test`, and a dry-run image `build`
|
||||||
on pull requests; pushing a `v*` tag builds and pushes
|
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
|
## Notes & caveats
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user