Skip to content

feat(docker/build-push)!: log in with username and password - #201

Merged
dan-n94 merged 1 commit into
mainfrom
feat/build-push-without-vault
Nov 10, 2026
Merged

dan-n94 merged 1 commit into
mainfrom
feat/build-push-without-vault

Conversation

@dan-n94

@dan-n94 dan-n94 commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

remove vault

Any registry other than ghcr.io now takes its host as registry and logs in with the new username and password inputs. The Vault step and the truenas alias are gone, so callers no longer need id-token: write.

BREAKING CHANGE: registry: truenas is removed. Pass the host and credentials instead:

registry: ${{ vars.TRUENAS_ZOT_REGISTRY_HOST }}
username: ${{ vars.TRUENAS_ZOT_READWRITE_USERNAME }}
password: ${{ secrets.TRUENAS_ZOT_READWRITE_PASSWORD }}

@dan-n94
dan-n94 requested review from antholzer and chjdev November 6, 2026 08:15

@antholzer antholzer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vars and secrets for the registry are usable by each repo in datalabhell?

@dan-n94

dan-n94 commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

vars and secrets for the registry are usable by each repo in datalabhell?

yes, these are org wide secrets and vars, I will create them via ESO via k8s
only if needed dedicated we could create them per org, see: https://external-secrets.io/latest/provider/github/

@dan-n94
dan-n94 force-pushed the feat/build-push-without-vault branch from 0d95db8 to be8caab Compare November 10, 2026 11:04
@dan-n94

dan-n94 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

match the current approach with pushsecret from external secrets operator now: https://github.com/DataLabHell/k8s-deploy/pull/293

@antholzer antholzer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better separate PR for the python/publish changes?

…f vault

Any registry other than ghcr.io now takes its host as `registry` and logs in
with the new `username` and `password` inputs. The Vault step and the
`truenas` alias are gone, so callers no longer need `id-token: write`.

BREAKING CHANGE: `registry: truenas` is removed. Pass the host and
credentials from the org secrets:

    registry: ${{ secrets.INTERNAL_OCI_REGISTRY_HOST }}
    username: ${{ secrets.INTERNAL_OCI_REGISTRY_READWRITE_USERNAME }}
    password: ${{ secrets.INTERNAL_OCI_REGISTRY_READWRITE_PASSWORD }}
@dan-n94
dan-n94 force-pushed the feat/build-push-without-vault branch from be8caab to 5c38d15 Compare November 10, 2026 12:13
@dan-n94

dan-n94 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

Better separate PR for the python/publish changes?

yes, good point, I'll do a dedicated one

@dan-n94
dan-n94 merged commit a0e4f26 into main Nov 10, 2026
1 check passed
@dan-n94
dan-n94 deleted the feat/build-push-without-vault branch November 10, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants