fix(ci): derive REGISTRY_USER from GITHUB_REPOSITORY_OWNER #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/ci-registry-user-from-github-owner"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
After PR #3 swapped
REGISTRY_PASSWORDtosecrets.FORGEJO_PAT, the workflow failed atdocker loginwithusername is empty. Cause:REGISTRY_USERwas being set fromvars.A8N_TOOLS_PRIVATE_PACKAGE_OWNER, which is unset for this repo. Switch to deriving the owner from$env.GITHUB_REPOSITORY_OWNER(lowercased), matching the siblingda-infoworkflow that also usesFORGEJO_PAT.Test plan
docker login, image push, and Generic Package upload all succeed.