Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use latest build asset(s) #212

Closed
wants to merge 4 commits into from
Closed

use latest build asset(s) #212

wants to merge 4 commits into from

Conversation

ab77
Copy link
Contributor

@ab77 ab77 commented Aug 8, 2023

Since Docker are having issues releasing their software, this is a workaround to use a more recent CI release/build.

Passed in staging using IPv6-only AWS instance.

@ab77 ab77 marked this pull request as ready for review August 8, 2023 21:46
@ab77 ab77 requested review from dfunckt and Page- August 8, 2023 21:46
@ab77 ab77 enabled auto-merge August 8, 2023 21:57
Dockerfile Outdated Show resolved Hide resolved
ARG GH_RUN_ID=5794478637

RUN --mount=type=secret,id=GITHUB_TOKEN \
GH_TOKEN=$(cat < /run/secrets/GITHUB_TOKEN) gh run download -R distribution/distribution "${GH_RUN_ID}" -n registry \
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume this downloads the artifact from the run? They expire after a certain period so this will definitely bite us fairly soon

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, almost certainly every time this builds, GH_RUN_ID would need to be incremented (assuming there is something there to increment to).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

One thing we can do, aside from forking and potentially having to set up our own build pipelines, is to store/cache the build blob in git here @Page-

@ab77 ab77 closed this Nov 12, 2023
auto-merge was automatically disabled November 12, 2023 22:23

Pull request was closed

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.

2 participants