This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish images to GitHub Container Registry (#146)
Push Docker images to both Docker Hub and the repo's container registry on GitHub - GHCR's rate limits are much more generous than Docker Hub's.
- Loading branch information
1 parent
86ace37
commit 4d268d7
Showing
2 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
genrule( | ||
name = "default_docker_repo", | ||
outs = ["default_docker_repo"], | ||
cmd = f'echo -n "{CONFIG.DEFAULT_DOCKER_REPO}" > $OUTS', | ||
) | ||
|
||
for script in glob(["*.sh"]): | ||
sh_binary( | ||
name = basename(splitext(script)[0]), | ||
data = [ | ||
":default_docker_repo", | ||
], | ||
main = script, | ||
deps = [ | ||
"//third_party/sh:shflags", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters