Closed wdbaruni closed 1 week ago
The pull request introduces updates to several scripts: build_tarball.sh
, build_webui.sh
, test.sh
, and lint.sh
. Each of these scripts now includes a section that sources a new Docker authentication script, docker-auth.sh
, and calls the docker_auth
function for handling Docker credentials. Additionally, a new script, docker-auth.sh
, has been added, which implements the Docker authentication logic, including error handling and configuration file creation. The overall structure and logic of the existing scripts remain intact.
File Path | Change Summary |
---|---|
buildkite/scripts/build_tarball.sh | Added sourcing of docker-auth.sh and call to docker_auth function for Docker authentication. |
buildkite/scripts/build_webui.sh | Added sourcing of docker-auth.sh and call to docker_auth function for Docker authentication. |
buildkite/scripts/lint.sh | Added sourcing of docker-auth.sh and call to docker_auth function for Docker authentication. |
buildkite/scripts/test.sh | Added sourcing of docker-auth.sh and call to docker_auth function for Docker authentication. |
buildkite/scripts/docker-auth.sh | Introduced new script with docker_auth function for Docker authentication and error handling. |
In scripts where secrets hide,
Docker's keys now sit with pride.
Buildkite whispers, "Here they are,"
For tarballs, web, and tests afar.
With credentials snug and tight,
Our builds will soar to new heights! 🐇✨
login when accessing docker hub in buildkite to avoid rate limiting of unauthenticated access by docker. Without this we are getting these errors sometimes in buildkite:
Summary by CodeRabbit
New Features
Bug Fixes