Add logging in to Github Registry for breeze pull (#23551)
authorJarek Potiuk <jarek@potiuk.com>
Sat, 7 May 2022 10:24:05 +0000 (12:24 +0200)
committerGitHub <noreply@github.com>
Sat, 7 May 2022 10:24:05 +0000 (12:24 +0200)
commit953b85d8a911301c040a3467ab2a1ba2b6d37cd7
treef22b69a80dd26f029e2aab211c4b16ab14a27de8
parent27a80511ec3ffcf036354741bd0bfe18d4b4a471
Add logging in to Github Registry for breeze pull (#23551)

All of the Airlfow Images are Public in ghcr.io but default setting
for iamges is "private" and when users want to build CI workflows
in their forks, had to manually change their images to Public, so
that ci.yml workflow can pull the images prepared in the build-images
workflow.

This PR adds logging in for `breeze pull` command when GITHUB_TOKEN
is available, also the workflow gets packages: read permissions.

This way ci should works in forks of users without any action from
user except first-time workflow enabling.
.github/workflows/ci.yml
dev/breeze/src/airflow_breeze/commands/ci_image_tools.py
dev/breeze/src/airflow_breeze/commands/production_image_tools.py
dev/breeze/src/airflow_breeze/utils/pulll_image.py
images/breeze/output-pull-image.svg
images/breeze/output-pull-prod-image.svg