aboutsummaryrefslogtreecommitdiff
path: root/snips/docker-registry
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2022-11-13 23:01:03 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2022-11-13 23:01:03 -0500
commit85c9eb99cbd32d479dd0e9139746c0979f9a50d4 (patch)
treebdc7257c84f2471617fb64066aaa400395d62db7 /snips/docker-registry
parente1d67f5fc07f64c54cedb9a3a006c026cb224aeb (diff)
downloaddotfiles-85c9eb99cbd32d479dd0e9139746c0979f9a50d4.tar.gz
dotfiles-85c9eb99cbd32d479dd0e9139746c0979f9a50d4.tar.xz
Add a few new snippets
Diffstat (limited to 'snips/docker-registry')
-rw-r--r--snips/docker-registry/all-repos2
-rw-r--r--snips/docker-registry/tags-for-repo1
2 files changed, 3 insertions, 0 deletions
diff --git a/snips/docker-registry/all-repos b/snips/docker-registry/all-repos
new file mode 100644
index 0000000..9a3ffa4
--- /dev/null
+++ b/snips/docker-registry/all-repos
@@ -0,0 +1,2 @@
+# export registry=https://my-registry.example.com
+# curl -X GET $registry/v2/_catalog
diff --git a/snips/docker-registry/tags-for-repo b/snips/docker-registry/tags-for-repo
new file mode 100644
index 0000000..f69420b
--- /dev/null
+++ b/snips/docker-registry/tags-for-repo
@@ -0,0 +1 @@
+# export repo=example ; curl -X GET $registry/v2/$repo/tags/list